diff options
author | Stefan Potyra <Stefan.Potyra@elektrobit.com> | 2018-05-02 10:55:31 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-14 16:32:00 +0200 |
commit | 955bc61328dc0a297fb3baccd84e9d3aee501ed8 (patch) | |
tree | bd102bfd117485fe861ff3d0f9aeee93d35dcf00 /fs/affs | |
parent | bd23a7269834dc7c1f93e83535d16ebc44b75eba (diff) | |
download | linux-955bc61328dc0a297fb3baccd84e9d3aee501ed8.tar.bz2 |
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 <Stefan.Potyra@elektrobit.com>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/affs')
0 files changed, 0 insertions, 0 deletions