summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb
diff options
context:
space:
mode:
authorShuah Khan <shuah@kernel.org>2019-04-01 20:43:18 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-04-22 11:24:33 -0400
commit10cb050459852fd954a5b38c019d2313f3bfb3e2 (patch)
tree563e87f0fee252ea6744cb2e2525e78bd60a35f8 /drivers/media/usb
parent898bc40bfcc26abb6e06e960d6d4754c36c58b50 (diff)
downloadlinux-10cb050459852fd954a5b38c019d2313f3bfb3e2.tar.gz
linux-10cb050459852fd954a5b38c019d2313f3bfb3e2.tar.bz2
linux-10cb050459852fd954a5b38c019d2313f3bfb3e2.zip
media: Clear devnode->media_dev holding media_devnode_lock
Fix media_devnode_unregister() to clear devnode->media_dev while holding media_devnode_lock. media_devnode_register()'s cdev_add_error handling does this correctly. Signed-off-by: Shuah Khan <shuah@kernel.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/usb')
0 files changed, 0 insertions, 0 deletions