serial: pl01x: pass pl01x_type to set baudrate
authorVikas Manocha <vikas.manocha@st.com>
Fri, 21 Nov 2014 18:34:19 +0000 (10:34 -0800)
committerTom Rini <trini@ti.com>
Mon, 8 Dec 2014 14:35:44 +0000 (09:35 -0500)
commita7deea691c5e85bdf8bc456dd41d5aadc1e49450
treeb8a8d7f52252c66477fdfc108d745d45c967c104
parentb3ef791cebfa8c7469fc2923ee5de7905cb554cf
serial: pl01x: pass pl01x_type to set baudrate

Although we were checking the pl01x type, seems like PL010 type was being
passed by mistake.

Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/serial/serial_pl01x.c