Re: rt2x00: fix clk_get call
From: Kalle Valo <hidden>
Date: 2017-01-31 07:09:59
From: Kalle Valo <hidden>
Date: 2017-01-31 07:09:59
Stanislaw Gruszka [off-list ref] wrote:
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: 34db70b92fae ("rt2x00: add copy of clk for soc devices")
Signed-off-by: Stanislaw Gruszka <redacted>Patch applied to wireless-drivers-next.git, thanks. 33e962c8871f rt2x00: fix clk_get call -- https://patchwork.kernel.org/patch/9543961/ Documentation about submitting wireless patches and checking status from patchwork: https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches