linux_dsm_epyc7002/drivers/net/wireless/ralink
Stanislaw Gruszka 33e962c887 rt2x00: fix clk_get call
clk_get() takes two arguments and might return ERR_PTR(), so we
have to nullify pointer on that case, to do not break further call
to clk_get_rate().

Reported-by: Felix Fietkau <nbd@nbd.name>
Fixes: 34db70b92f ("rt2x00: add copy of clk for soc devices")
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2017-01-31 09:08:52 +02:00
..
rt2x00 rt2x00: fix clk_get call 2017-01-31 09:08:52 +02:00
Kconfig rt2x00: move under ralink vendor directory 2015-11-18 14:28:31 +02:00
Makefile rt2x00: move under ralink vendor directory 2015-11-18 14:28:31 +02:00