]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
serial: qcom-geni: introduce qcom_geni_serial_poll_bitfield()
authorDouglas Anderson <dianders@chromium.org>
Fri, 6 Sep 2024 13:13:33 +0000 (15:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Sep 2024 13:44:45 +0000 (15:44 +0200)
commitb26d1ad1221273c88c2c4f5b4080338b8ca23859
treeecfbe866250a4ca672adccdbe3e3e567151db69e
parentc2eaf5e01275ae13f1ec5b1434f6c49cfff57430
serial: qcom-geni: introduce qcom_geni_serial_poll_bitfield()

With a small modification the qcom_geni_serial_poll_bit() function
could be used to poll more than just a single bit. Let's generalize
it. We'll make the qcom_geni_serial_poll_bit() into just a wrapper of
the general function.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240610152420.v4.5.Ic6411eab8d9d37acc451705f583fb535cd6dadb2@changeid
Tested-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20240906131336.23625-6-johan+linaro@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/qcom_geni_serial.c