]> git.baikalelectronics.ru Git - kernel.git/commit
[media] adv7511: fix error return code in adv7511_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 11 Sep 2013 13:07:58 +0000 (10:07 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 3 Oct 2013 17:13:33 +0000 (14:13 -0300)
commite10c16579f36377762aff9fac2876f91ddf7a966
tree41355c0d989bde9c27df404937be4113498e63ec
parent3b1c0cd192651a5554e9535478e6df3393499454
[media] adv7511: fix error return code in adv7511_probe()

Fix to return -ENOMEM in the new i2c client and create workqueue error
handling case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/adv7511.c