diff options
| author | Stefan Potyra <[email protected]> | 2018-05-02 08:55:31 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-05-14 14:32:00 +0000 |
| commit | 955bc61328dc0a297fb3baccd84e9d3aee501ed8 (patch) | |
| tree | bd102bfd117485fe861ff3d0f9aeee93d35dcf00 /drivers/fpga/socfpga.c | |
| parent | virt: vbox: Only copy_from_user the request-header once (diff) | |
| download | kernel-955bc61328dc0a297fb3baccd84e9d3aee501ed8.tar.gz kernel-955bc61328dc0a297fb3baccd84e9d3aee501ed8.zip | |
w1: mxc_w1: Enable clock before calling clk_get_rate() on it
According to the API, you may only call clk_get_rate() after actually
enabling it.
Found by Linux Driver Verification project (linuxtesting.org).
Fixes: a5fd9139f74c ("w1: add 1-wire master driver for i.MX27 / i.MX31")
Signed-off-by: Stefan Potyra <[email protected]>
Acked-by: Evgeniy Polyakov <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/socfpga.c')
0 files changed, 0 insertions, 0 deletions
