commit | 53ef1600bdabfc4ba4ce0cc5f3b4a7cec55d1e98 | [log] [tgz] |
---|---|---|
author | Benjamin Gaignard <benjamin.gaignard@linaro.org> | Wed Jun 26 17:58:59 2013 +0200 |
committer | Dave Airlie <airlied@redhat.com> | Thu Jun 27 21:03:16 2013 +1000 |
tree | 1b472149273b9620b54b6388928be8491f390ffa | |
parent | dc0216445cdc5b937b78a02f1145a2fbcf92e9d6 [diff] |
drm: drm_stub: Fixing return value if driver master_set call failed When dev->driver->master_set() failed ioctl call return 0 but the caller is not the DRM-Master because file_priv->is_master = 0. Fix that by returning to ioctl caller the driver master_set error code. Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org> Signed-off-by: Dave Airlie <airlied@redhat.com>