summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c
diff options
context:
space:
mode:
authorInsu Yun <wuninsu@gmail.com>2016-02-04 21:09:23 -0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-02-19 08:10:32 -0200
commitbb07df8ae18b42a8c5aea715fae82938b467ff9d (patch)
treeba4894f73a4786ae4a8e7bac2672fadc4b3b8013 /drivers/media/i2c
parentc574b759138474d2fbe7e437c529010b7f4db2f1 (diff)
downloadlinux-bb07df8ae18b42a8c5aea715fae82938b467ff9d.tar.gz
linux-bb07df8ae18b42a8c5aea715fae82938b467ff9d.tar.bz2
linux-bb07df8ae18b42a8c5aea715fae82938b467ff9d.zip
[media] pvrusb2: correctly handling failed thread run
Since kthread_run returns -ENOMEM if failed, it needs to be checked whether it is error, not whether it is null. Signed-off-by: Insu Yun <wuninsu@gmail.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/i2c')
0 files changed, 0 insertions, 0 deletions