mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-28 12:25:31 +00:00
[media] si2165: fix sparse warning
drivers/media/dvb-frontends/si2165.c:329:16: warning: odd constant _Bool cast (ffffffffffffffea becomes 1) Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
817d2fd4cb
commit
e73c7bfea0
@ -312,7 +312,7 @@ static u32 si2165_get_fe_clk(struct si2165_state *state)
|
||||
return state->adc_clk;
|
||||
}
|
||||
|
||||
static bool si2165_wait_init_done(struct si2165_state *state)
|
||||
static int si2165_wait_init_done(struct si2165_state *state)
|
||||
{
|
||||
int ret = -EINVAL;
|
||||
u8 val = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user