[PATCH 2/3] tty: serial: msm: Only configure MND registers on hw that has it

Andy Gross andy.gross at linaro.org
Sun Jun 5 12:04:29 PDT 2016


On Wed, May 11, 2016 at 06:02:27PM -0700, Stephen Boyd wrote:
> The registers that msm_serial_set_mnd_regs() writes only exist on
> the non-uartdm hardware, so let's return early here if this
> function is called on uartdm hardware. This also prevents us from
> messing up the uartclk variable if the uartclk rate happens to be
> 19.2 or 4.8 MHz.
> 
> Signed-off-by: Stephen Boyd <sboyd at codeaurora.org>

Acked-by: Andy Gross <andy.gross at linaro.org>



More information about the linux-arm-kernel mailing list