Skip to content
Commit f654b23c authored by Martyn Welch's avatar Martyn Welch Committed by Greg Kroah-Hartman
Browse files

serial: imx: Use RX_BUF_SIZE to set size of RX buffer



The imx serial driver uses PAGE_SIZE when allocating rx_buf, but then
uses RX_BUF_SIZE (which is currently defined as PAGE_SIZE) to describe
the length of the buffer when initialising the scatter gather list.

In order to ensure that this stays consistent, use RX_BUF_SIZE in both
locations.

Signed-off-by: default avatarMartyn Welch <martyn.welch@collabora.co.uk>
Acked-by: default avatarUwe Kleine-König <u.kleine-könig@pengtronix.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4139fd76
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment