diff options
author | Dinesh Ram <Dinesh.Ram@cern.ch> | 2013-10-15 17:24:40 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-12-18 09:35:57 +0100 |
commit | e26fa6dccf9abb372963b766335611f5eb670891 (patch) | |
tree | bb655f9c6b8a966341692ba4311525a1e8c0550f /drivers/hid/hid-ids.h | |
parent | [media] si4713: Reorganized includes in si4713.c/h (diff) | |
download | linux-e26fa6dccf9abb372963b766335611f5eb670891.tar.xz linux-e26fa6dccf9abb372963b766335611f5eb670891.zip |
[media] si4713: Bug fix for si4713_tx_tune_power() method in the i2c driver
In the si4713_tx_tune_power() method, the args array element 'power'
can take values between SI4713_MIN_POWER and SI4713_MAX_POWER. power = 0
is also valid. All the values (0 > power < SI4713_MIN_POWER) are illegal
and hence are all mapped to SI4713_MIN_POWER.
Signed-off-by: Dinesh Ram <dinesh.ram@cern.ch>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Tested-by: Eduardo Valentin <edubezval@gmail.com>
Acked-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/hid/hid-ids.h')
0 files changed, 0 insertions, 0 deletions