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

From: Andy Gross
Date: Sun Jun 05 2016 - 15:04:39 EST


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@xxxxxxxxxxxxxx>

Acked-by: Andy Gross <andy.gross@xxxxxxxxxx>