OSDN Git Service

[media] ts2020: Copy loop_through from the config to the internal data
authorDavid Howells <dhowells@redhat.com>
Wed, 3 Jun 2015 11:34:13 +0000 (08:34 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 10 Jun 2015 14:11:38 +0000 (11:11 -0300)
commit0f20baad24f97c3390ae869661408bb3ee12764e
tree61b5d4c78c08dfa641f2f98f81dce3c83a6acc09
parent3366cd5d72c664aa5e447f41ed2f7dac69f6a94e
[media] ts2020: Copy loop_through from the config to the internal data

Copy the loop_through setting from the ts2020_config struct to the internal
ts2020_priv struct so that it can actually be used.

Whilst we're at it, group the bitfields together in the same order in both
structs so that the compiler has a good chance to copy them in one go.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/ts2020.c
drivers/media/dvb-frontends/ts2020.h