summaryrefslogtreecommitdiff
path: root/net/can
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2018-07-03 12:05:48 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-06 16:48:15 +0200
commitd5b9653dd2bb7a2b1c8cc783c5d3b607bbb6b271 (patch)
tree0766bc82304d334dddebbf07ed3d153479a8e803 /net/can
parentf294d00961d1d869ecffa60e280eeeee1ccf9a49 (diff)
misc: sram: enable clock before registering regions
Make sure to enable the clock before registering regions and exporting partitions to user space at which point we must be prepared for I/O. Fixes: ee895ccdf776 ("misc: sram: fix enabled clock leak on error path") Signed-off-by: Johan Hovold <johan@kernel.org> Reviewed-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/can')
0 files changed, 0 insertions, 0 deletions