summaryrefslogtreecommitdiffstats
path: root/fs/pnode.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2019-03-29 10:10:26 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-16 15:24:38 +0200
commit6b87784b53592a90d21576be8eff688b56d93cce (patch)
tree73e77a37beb9fae246d32f8e0bccf51f5436c4f5 /fs/pnode.c
parentace965696da2611af759f0284e26342b7b6cec89 (diff)
downloadlinux-6b87784b53592a90d21576be8eff688b56d93cce.tar.gz
linux-6b87784b53592a90d21576be8eff688b56d93cce.tar.bz2
linux-6b87784b53592a90d21576be8eff688b56d93cce.zip
serial: sh-sci: Fix HSCIF RX sampling point adjustment
The calculation of the sampling point has min() and max() exchanged. Fix this by using the clamp() helper instead. Fixes: 63ba1e00f178a448 ("serial: sh-sci: Support for HSCIF RX sampling point adjustment") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Ulrich Hecht <uli+renesas@fpond.eu> Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Acked-by: Dirk Behme <dirk.behme@de.bosch.com> Cc: stable <stable@vger.kernel.org> Reviewed-by: Simon Horman <horms+renesas@verge.net.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/pnode.c')
0 files changed, 0 insertions, 0 deletions