commit | 65f0f686de9fcbad7dadcedae94de77ab8b558b7 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Wed Nov 11 18:42:00 2015 -0200 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Tue Nov 17 06:45:05 2015 -0200 |
tree | 82a613aaec8c8313668a53532d281415747eb8c3 | |
parent | b2d3afcfbdb7cd48759433ab9a0dd1bf20cc6aa8 [diff] |
[media] stb6100: get rid of get_state()/set_state() It is tricky to get rid of those ops here, as the stv0299 driver wants to set frequency in separate from setting the bandwidth. So, we use a small trick: we temporarely fill the cache with 0 for either frequency or bandwidth and add some logic at set_params to only change the property(ies) that aren't zero. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>