[PATCH 2/9] ARM: mmp: allow NULL clock for clk_get_rate

2017-07-18 Thread Jonas Gorski
Make the behaviour of clk_get_rate consistent with common clk's clk_get_rate by accepting NULL clocks as parameter. Some device drivers rely on this, and will cause an OOPS otherwise. Fixes: 49cbe78637eb ("[ARM] pxa: add base support for Marvell's PXA168 processor line") Cc: Eric Miao

[PATCH 2/9] ARM: mmp: allow NULL clock for clk_get_rate

2017-07-18 Thread Jonas Gorski
Make the behaviour of clk_get_rate consistent with common clk's clk_get_rate by accepting NULL clocks as parameter. Some device drivers rely on this, and will cause an OOPS otherwise. Fixes: 49cbe78637eb ("[ARM] pxa: add base support for Marvell's PXA168 processor line") Cc: Eric Miao Cc: