Files
linux/drivers/misc
Johan Hovold 0470189cd9 misc: sram: enable clock before registering regions
[ Upstream commit d5b9653dd2 ]

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: ee895ccdf7 ("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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-10-03 17:00:46 -07:00
..
2018-02-22 15:42:23 +01:00
2014-02-28 14:08:42 -08:00
2017-08-28 16:55:48 +02:00
2013-08-27 08:28:01 -07:00
2017-08-28 16:55:48 +02:00
2018-09-29 03:06:07 -07:00