Re: [PATCH 6/9] MIPS: BCM63XX: allow NULL clock for clk_get_rate

2017-07-18 Thread Florian Fainelli
On 07/18/2017 03:17 AM, Jonas Gorski wrote: > 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: e7300d04bd08 ("MIPS: BCM63xx: Add support for the Bro

[PATCH 6/9] MIPS: BCM63XX: 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: e7300d04bd08 ("MIPS: BCM63xx: Add support for the Broadcom BCM63xx family of SOCs.") Cc: Ralf Baechle Cc: