]> git.baikalelectronics.ru Git - kernel.git/commit
[media] Revert "[media] media: au0828 change to use Managed Media Controller API"
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 31 Mar 2016 13:54:05 +0000 (10:54 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 31 Mar 2016 18:09:04 +0000 (15:09 -0300)
commit7a628dfd0829a6c2305a715a646a1b544baaf622
tree357ee733300f8ba6ea40abc452b8903ea7525f89
parent196e238a90ab61490e819d9fb352c01a67196abc
[media] Revert "[media] media: au0828 change to use Managed Media Controller API"

Extending the lifetime of the media_device struct is not handled well
by the core, as it will erase some data from the struct, when
media_device_cleanup() is called after unregistering it.

While we have a fixup patch for it already, the usage of those new
functions are needed only when we share data with other drivers.

So, better to revert the changes.

This reverts commit 88813d66fbb5 ("[media] media: au0828 change
to use Managed Media Controller API")

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/au0828/au0828-core.c