]> 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)
commit978325154cf73d6cf08841470f36a965a398fb4a
tree357ee733300f8ba6ea40abc452b8903ea7525f89
parent7277d63745f55540f846da2db58aee82a3eac6c1
[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 082a8d5683d5 ("[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