diff options
author | Benjamin Gaignard <benjamin.gaignard@linaro.org> | 2013-06-26 19:58:59 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-06-27 15:03:16 +0400 |
commit | 53ef1600bdabfc4ba4ce0cc5f3b4a7cec55d1e98 (patch) | |
tree | 1b472149273b9620b54b6388928be8491f390ffa /ipc | |
parent | dc0216445cdc5b937b78a02f1145a2fbcf92e9d6 (diff) | |
download | linux-53ef1600bdabfc4ba4ce0cc5f3b4a7cec55d1e98.tar.xz |
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>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions