summaryrefslogtreecommitdiff
path: root/target/linux/ar7/patches-3.18/101-MIPS-AR7-allow-NULL-clock-for-clk_get_rate.patch
Commit message (Collapse)AuthorAgeFilesLines
* ar7: add NULL clock fix send upstreamMathias Kresin2017-07-291-0/+45
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. Signed-off-by: Mathias Kresin <dev@kresin.me>