diff options
author | Johan Hovold <johan@kernel.org> | 2018-07-03 12:05:48 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-06 16:48:15 +0200 |
commit | d5b9653dd2bb7a2b1c8cc783c5d3b607bbb6b271 (patch) | |
tree | 0766bc82304d334dddebbf07ed3d153479a8e803 /fs/ocfs2 | |
parent | f294d00961d1d869ecffa60e280eeeee1ccf9a49 (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 'fs/ocfs2')
0 files changed, 0 insertions, 0 deletions