upstream: [media] au8522: move input_mode out one level
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 8 Jun 2014 16:54:51 +0000 (13:54 -0300)
committerChanho Park <chanho61.park@samsung.com>
Thu, 7 Aug 2014 05:32:07 +0000 (14:32 +0900)
commitcb52136b2520d17c0f36085b3eb2e0b3b5ec9f7d
tree88c898e1cfaae16df9dc1f05bf102d74477f4641
parent3231003bdf2e7b1dfc16aa8a9cc0f9153d471c2d
upstream: [media] au8522: move input_mode out one level

The input mode is used not only inside the setup_decoder_defaults()
but also at au8522_*_mode routines.

So, move it one level up. As an advantage, we can now group the
function that sets the input into just one.

Backports http://git.linuxtv.org/cgit.cgi/media_tree.git/commit/?id=364693166cf4
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/au8522_decoder.c