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 Broadcom BCM63xx family of SOCs.") > Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx> > Cc: Florian Fainelli <f.fainelli@xxxxxxxxx> > Cc: bcm-kernel-feedback-list@xxxxxxxxxxxx > Cc: James Hogan <james.hogan@xxxxxxxxxx> > Cc: linux-mips@xxxxxxxxxxxxxx > Cc: linux-kernel@xxxxxxxxxxxxxxx > Reported-by: Mathias Kresin <dev@xxxxxxxxx> > Signed-off-by: Jonas Gorski <jonas.gorski@xxxxxxxxx> Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx> -- Florian