aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2015-11-19 14:35:09 +0100
committerGeert Uytterhoeven <geert+renesas@glider.be>2015-12-17 11:18:41 +0100
commitff8b275f1f0927621cf543c2a6f02761052c360d (patch)
tree995361d1676ac5a26f36deb1d9acba89d57d914f /include
parentserial: sh-sci: Merge sci_scbrr_calc() and sci_baud_calc_hscif() (diff)
downloadwireguard-linux-ff8b275f1f0927621cf543c2a6f02761052c360d.tar.xz
wireguard-linux-ff8b275f1f0927621cf543c2a6f02761052c360d.zip
serial: sh-sci: Take into account sampling rate for max baud rate
The maximum baud rate depends on the sampling rate. HSCIF has a variable sampling rate and sets s->sampling_rate to zero, hence use the minimum sampling rate of 8. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions