aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2016-11-08 12:10:57 +0000
committerGreg Kroah-Hartman <[email protected]>2016-11-10 12:12:59 +0000
commit18266403f3fe507f0246faa1d5432333a2f139ca (patch)
tree507a2e5434a7a1c7eaeac13517f8cd53d4fedc59 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentcdc-acm: fix uninitialized variable (diff)
downloadkernel-18266403f3fe507f0246faa1d5432333a2f139ca.tar.gz
kernel-18266403f3fe507f0246faa1d5432333a2f139ca.zip
USB: cdc-acm: fix TIOCMIWAIT
The TIOCMIWAIT implementation would return -EINVAL if any of the three supported signals were included in the mask. Instead of returning an error in case TIOCM_CTS is included, simply drop the mask check completely, which is in accordance with how other drivers implement this ioctl. Fixes: 5a6a62bdb925 ("cdc-acm: add TIOCMIWAIT") Cc: stable <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Acked-by: Oliver Neukum <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions