fc0011: fp/fa value overflow fix
Subsystems (2)
Michael Büsch
maintainerPATCH 1/4 fc0011: fp/fa value overflow fix
Assign the maximum instead of masking with the maximum on value overflow.
Signed-off-by Michael Buesch <[email protected]>
---
drivers/media/tuners/fc0011.c +2 -2
@@ -247,8 +247,8 @@ fa +=8 ; }if (fp >0x1F ) { - fp &=0x1F ; - fa &=0xF ; + fp =0x1F ; + fa =0xF ; }if (fa >= fp) { dev_warn(&priv->i2c->dev,
Signature · 3 lines
Greetings, Michael. PGP: 908D8B0E