From: Dinesh Ram Date: Tue, 15 Oct 2013 15:24:40 +0000 (-0300) Subject: [media] si4713: Bug fix for si4713_tx_tune_power() method in the i2c driver X-Git-Tag: v3.14-rc1~20^2~273 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e26fa6dccf9abb372963b766335611f5eb670891;p=pandora-kernel.git [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 Signed-off-by: Hans Verkuil Tested-by: Eduardo Valentin Acked-by: Eduardo Valentin Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed