]> asedeno.scripts.mit.edu Git - linux.git/commit
media: radio: Tuning bugfix for si470x over i2c
authorDouglas Fischer <fischerdouglasc@gmail.com>
Mon, 26 Feb 2018 02:24:06 +0000 (21:24 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 21 Mar 2018 15:53:40 +0000 (11:53 -0400)
commit36d6bf8976e9188915e34cb840a5a9d5a62fb8ca
treef1bd02248a72311f734216ee45cf0e9af4124c44
parent3e187c81d405474ef6361acf6d875657940cc2c0
media: radio: Tuning bugfix for si470x over i2c

Fixed si470x_set_channel() trying to tune before chip is turned
on, which causes warnings in dmesg and when probing, makes driver
wait for 3s for tuning timeout. This issue did not affect USB
devices because they have a different probing sequence.

Signed-off-by: Douglas Fischer <fischerdouglasc@gmail.com>
[hans.verkuil@cisco.com: fixed space-after-( checkpatch warning]
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/radio/si470x/radio-si470x-common.c