]> git.karo-electronics.de Git - linux-beck.git/commit
serial: sh-sci: Use a bitmask to indicate supported sampling rates
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 4 Jan 2016 13:45:21 +0000 (14:45 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Feb 2016 06:54:55 +0000 (22:54 -0800)
commit69eee8e9c876eb412282a3b45d998e989d3a8e93
treec4cbb03d3b6716e4b8a0049a3c467c464cdb7f43
parent7b5c0c08f5e895fb92c1d1d5f905c68eca1df5c0
serial: sh-sci: Use a bitmask to indicate supported sampling rates

Replace the single sampling rate and special handling for HSCIF's
variable sampling rates by a bitmask and a custom iterator.
This prepares for the advent of SCIFA/SCIFB's sparse variable sampling
rates.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sh-sci.c