Re: [PATCH 6/9] MIPS: BCM63XX: allow NULL clock for clk_get_rate
From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2017-07-18 19:55:22
Also in:
lkml
From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2017-07-18 19:55:22
Also in:
lkml
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 <redacted>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: bcm-kernel-feedback-list@broadcom.com
Cc: James Hogan <redacted>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Reported-by: Mathias Kresin <redacted>
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> -- Florian