]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] adv7511: fix error return code in adv7511_probe()
authorWei Yongjun <weiyj.lk@gmail.com>
Thu, 4 Aug 2016 08:31:22 +0000 (05:31 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 24 Aug 2016 16:47:02 +0000 (13:47 -0300)
commitb956fb2d2e562a344df41a8f2fc51314bac5b300
tree1c9fbec1c9f46e63edfc7b2597058d7878ad4988
parent69d4a521586ef93db94451afa5072ec3f6bee401
[media] adv7511: fix error return code in adv7511_probe()

Fix to return error code -ENOMEM from the i2c client register error
handling case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/adv7511.c