aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorJonas Gorski <[email protected]>2017-07-18 12:17:25 +0200
committerGreg Ungerer <[email protected]>2017-08-28 10:40:30 +1000
commit94b282267c2f3af725b154c91275ed374c1f11de (patch)
tree03c879d7c47a6787a8f5c7fd0a8f926b6148686c /lib/memory-notifier-error-inject.c
parentcc4a41fe5541a73019a864883297bd5043aa6d98 (diff)
m68k: allow NULL clock for clk_get_rate
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: facdf0ed4f59 ("m68knommu: introduce basic clk infrastructure") Cc: Greg Ungerer <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Cc: [email protected] Cc: [email protected] Reported-by: Mathias Kresin <[email protected]> Signed-off-by: Jonas Gorski <[email protected]> Signed-off-by: Greg Ungerer <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions