summaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2014-01-13 22:05:23 +0300
committerJiri Slaby <jslaby@suse.cz>2014-03-31 14:22:30 +0200
commitf615b037e16b61fb9358fdd94dec9728b8df90d8 (patch)
tree1a764a944095566826bf2c8031865690c6eaf42b /drivers/regulator
parent7eb5fad9a3e737438329d1d1a4b22fa3fbf240f2 (diff)
downloadlwn-f615b037e16b61fb9358fdd94dec9728b8df90d8.tar.gz
lwn-f615b037e16b61fb9358fdd94dec9728b8df90d8.zip
p54: clamp properly instead of just truncating
commit 608cfbe4abaf76e9d732efd7ed1cfa3998163d91 upstream. The call to clamp_t() first truncates the variable signed 8 bit and as a result, the actual clamp is a no-op. Fixes: 0d78156eef1d ('p54: improve site survey') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'drivers/regulator')
0 files changed, 0 insertions, 0 deletions