[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)
commit8510ae4e57b74f5da4a2d98508689ede569c8221
tree41355c0d989bde9c27df404937be4113498e63ec
parentd8c279a00ba42f7face4bbf959c31d24e5e5baa4
[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