]> git.baikalelectronics.ru Git - kernel.git/commit
[media] tda8261: don't use set_state/get_state callbacks
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 11 Nov 2015 20:07:44 +0000 (18:07 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 17 Nov 2015 08:43:59 +0000 (06:43 -0200)
commitaa2c58e8d787241276e44f1ddf6d1f3c9f8453a2
tree486bd2393f77c637e6f6c885d66b090aeff0603c
parentad4b225ba0102e1e469fb35097f25423125e939b
[media] tda8261: don't use set_state/get_state callbacks

Those callbacks are meant to be used only on some very specific
cases. There's absolutely no need to do that at tda8261, as
the only parameter that it allows to be set/get is the frequency.

So, use the standard get_params() and get_frequency() kABI
ops.

There's no need to touch at any bridge driver, as all interactions
are done via the macros at tda8261_cfg.h.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/tda8261.c
drivers/media/dvb-frontends/tda8261_cfg.h