summaryrefslogtreecommitdiff
path: root/keypair.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-09-13 12:18:21 +0200
committerTobias Klauser <tklauser@distanz.ch>2017-09-13 12:18:21 +0200
commitb4b0db043bc7e03982b24c9e330bf1bc2c727fc0 (patch)
tree9c46585911a622d80c54840be91157247f4a43b8 /keypair.c
parent439af62bca4794d78d53fb4634f560d6a75f0adb (diff)
dev: only calculate wireless bitrate if necessary
Only call wireless_bitrate (and thus the underlying ioctl) if strictly necessary, i.e. ethtool_bitrate returned 0. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'keypair.c')
0 files changed, 0 insertions, 0 deletions
d7'>diff)
regulator: twl6030: fix range comparison, allowing vsel = 59
The range min_uV > 1350000 && min_uV <= 150000 is never reachable because of a typo in the previous range check and hence vsel = 59 is never reached. Fix the previous range check to enable the vsel = 59 setting. Fixes CoverityScan CID#728454 ("Logially dead code") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/davinci/Makefile')