Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] au8522: Set the initial modulation

We need to set the initial modulation on driver setup, or else any
calls to GET_FRONTEND prior to the first SET_FRONTEND call will get
back garbage.

Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>

authored by

Devin Heitmueller and committed by
Mauro Carvalho Chehab
d7590b57 d9928a11

+1
+1
drivers/media/dvb-frontends/au8522_common.c
··· 234 234 chip, so that when it gets powered back up it won't think 235 235 that it is already tuned */ 236 236 state->current_frequency = 0; 237 + state->current_modulation = VSB_8; 237 238 238 239 au8522_writereg(state, 0xa4, 1 << 5); 239 240