diff options
author | Faiz Abbas | 2018-01-16 12:37:13 +0100 |
---|---|---|
committer | Marc Kleine-Budde | 2018-01-16 15:11:34 +0100 |
commit | cdf8259d65739a04871513d4d17bb342ba1d4a46 (patch) | |
tree | a875f7ef76231766a17ead391c11c858a02397cf /fs | |
parent | can: m_can: get rid of function free_m_can_dev() (diff) | |
download | kernel-qcow2-linux-cdf8259d65739a04871513d4d17bb342ba1d4a46.tar.gz kernel-qcow2-linux-cdf8259d65739a04871513d4d17bb342ba1d4a46.tar.xz kernel-qcow2-linux-cdf8259d65739a04871513d4d17bb342ba1d4a46.zip |
can: m_can: Add PM Support
Add support for CONFIG_PM which is the new way to handle managing clocks.
Move the clock management to pm_runtime_resume() and pm_runtime_suspend()
callbacks for the driver.
CONFIG_PM is required by OMAP based devices to handle clock management.
Therefore, this allows future Texas Instruments SoCs that have the MCAN IP
to work with this driver.
Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions