summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2018-03-23 18:42:42 +0100
committerBenson Leung <bleung@chromium.org>2018-04-10 22:22:34 -0700
commit311394248ca539c12b33d396b2944e03cd0d6bfc (patch)
tree5866aa9ab73fe9ed3ebb7717bf7bcefda1032de5 /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
parent3eb2ce825ea1ad89d20f7a3b5780df850e4be274 (diff)
platform/chrome: cros_ec_sysfs: Modify error handling
When accessing a sysfs attribute, if the EC command fails, -EPROTO is now returned instead of an error message as it is unlikely an app is parsing the error message to do something meaningful. Also, this patch makes use of cros_ec_cmd_xfer_status() instead of cros_ec_cmd_xfer() so an error message is printed in the syslog. Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Signed-off-by: Benson Leung <bleung@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
0 files changed, 0 insertions, 0 deletions