The array size of 'shadow' still needs to be fixed in order to not overflow when reading register 0x00.
Thanks to Oliver Endriss for pointing that out.
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* it does not support repeated-start, workaround: write addr-1
* and then read
*/
* it does not support repeated-start, workaround: write addr-1
* and then read
*/
};
static u32 s5h1420_getsymbolrate(struct s5h1420_state* state);
};
static u32 s5h1420_getsymbolrate(struct s5h1420_state* state);