Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d3c449e1 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

media: bttv-input: better handle errors at I2C transfer



The error handling logic at get_key_pv951() is a little bit
akward, with produces this false positive warning:

	drivers/media/pci/bt8xx/bttv-input.c:344 get_key_pv951() error: uninitialized symbol 'b'.

Do a cleanup. As a side effect, it also improves its coding
style.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent b0121ca0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment