serial: ns16550: Fix reading clock-frequency property
The clock-frequency property is never read because the driver
bails out earlier when it is unable to clk_get the clk. Move
the clock-frequency read out to the dt setup code which is
executed before the driver bails out due to the missing clk.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent c5dc0bf commit dc2abefb94a959ced75eba8cec29d00137881db3
@Sascha Hauer Sascha Hauer authored on 19 Jun 2015
Showing 1 changed file
View
drivers/serial/serial_ns16550.c