diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-11-28 02:39:43 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-11-28 11:26:58 +0100 |
commit | 5c32d29f13e9f7b94e0e82bf3ed7a1cf6b0c0dd3 (patch) | |
tree | 06edd13bfd62ce66ee568865e5e8c63d78d301d2 /kernel/.gitignore | |
parent | spi: sh-msiof: Use devm_* managed allocators (diff) | |
download | linux-5c32d29f13e9f7b94e0e82bf3ed7a1cf6b0c0dd3.tar.xz linux-5c32d29f13e9f7b94e0e82bf3ed7a1cf6b0c0dd3.zip |
spi: sh-msiof: Convert to clk_prepare/unprepare
Get the driver ready for the migration to the common clock framework by
calling clk_prepare() and clk_unprepare(). The calls are added in the
probe and remove handlers as the clk_enable() and clk_disable() calls
are located in atomic context and there's no callback function in
non-atomic context that can be used to prepare/unprepare the clock.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'kernel/.gitignore')
0 files changed, 0 insertions, 0 deletions