[media] media: Fix media_open() to clear filp->private_data in error leg
authorShuah Khan <shuahkh@osg.samsung.com>
Wed, 27 Jan 2016 23:49:33 +0000 (21:49 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 1 Feb 2016 15:21:33 +0000 (13:21 -0200)
commitd40ec6fdb0b03b7be4c7923a3da0e46bf943740a
tree18320de634e257ebeb0320ed9f3075cbeef38e9c
parent7c8fe516bd81d991feb73ccd969ec29850af3013
[media] media: Fix media_open() to clear filp->private_data in error leg

Fix media_open() to clear filp->private_data when file open
fails.

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/media-devnode.c