commit | eda220acd5f2cef789430110f66a74cb49309b68 | [log] [tgz] |
---|---|---|
author | Shuah Khan <shuahkh@osg.samsung.com> | Mon Mar 28 21:25:29 2016 -0300 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Mon May 09 13:20:42 2016 -0300 |
tree | d190469a12b7013b4aa2259982d6cc5bac767cae | |
parent | c23ac90f78aa9190643c82c1975a0cfe480d7c60 [diff] |
[media] media: au0828 fix au0828_v4l2_device_register() to not unlock and free au0828_v4l2_device_register() unlocks au0828_dev->lock and frees au0828 dev in error legs before return. au0828_usb_probe() does the same when au0828_v4l2_device_register() returns error. Fix au0828_v4l2_device_register() to not to unlock and free in its error legs. Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>