[PATCH] af9033: prevent unintended underflow

2012-10-03 Thread Hans-Frieder Vogt
As spotted by Dan Carpenter dan.carpen...@oracle.com (thanks!), we have improperly used an unsigned variable in a calculation that may result in a negative number. This may cause an unintended underflow if the interface frequency of the tuner is approx. 40MHz. This patch should resolve the issue,

Re: [PATCH] af9033: prevent unintended underflow

2012-10-03 Thread Antti Palosaari
On 10/03/2012 12:25 PM, Hans-Frieder Vogt wrote: As spotted by Dan Carpenter dan.carpen...@oracle.com (thanks!), we have improperly used an unsigned variable in a calculation that may result in a negative number. This may cause an unintended underflow if the interface frequency of the tuner is