diff options
author | Johan Hovold <johan@kernel.org> | 2018-07-03 13:05:48 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-06 17:48:15 +0300 |
commit | d5b9653dd2bb7a2b1c8cc783c5d3b607bbb6b271 (patch) | |
tree | 0766bc82304d334dddebbf07ed3d153479a8e803 /Documentation/features/time | |
parent | f294d00961d1d869ecffa60e280eeeee1ccf9a49 (diff) | |
download | linux-d5b9653dd2bb7a2b1c8cc783c5d3b607bbb6b271.tar.xz |
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 'Documentation/features/time')
0 files changed, 0 insertions, 0 deletions