linux_dsm_epyc7002/arch/mips/ralink
Jonas Gorski a18097b767 MIPS: ralink: 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: 3f0a06b036 ("MIPS: ralink: adds clkdev code")
Reported-by: Mathias Kresin <dev@kresin.me>
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Cc: John Crispin <john@phrozen.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/16778/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2017-09-06 12:37:45 +02:00
..
bootrom.c
cevt-rt3352.c
clk.c MIPS: ralink: allow NULL clock for clk_get_rate 2017-09-06 12:37:45 +02:00
common.h
early_printk.c
ill_acc.c
irq-gic.c irqchip: mips-gic: Move gic_get_c0_*_int() to asm/mips-gic.h 2017-09-04 13:53:14 +02:00
irq.c
Kconfig MIPS: Add Onion Omega2+ board 2017-08-29 15:21:54 +02:00
Makefile
mt7620.c MIPS: ralink: mt7620: Add missing header 2017-07-19 00:03:15 +02:00
mt7621.c MIPS: CPS: Cluster support for topology functions 2017-08-30 00:57:28 +02:00
of.c
Platform
prom.c
reset.c
rt288x.c
rt305x.c
rt3883.c
timer-gic.c
timer.c