Re: [PATCH v2 1/1] NET: mcan: Move runtime PM enable/disable to m_can_platform

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/17/20 12:36 PM, Patrik Flykt wrote:
> On Fri, 2020-10-23 at 14:58 +0300, Patrik Flykt wrote:
>> This is a preparatory patch for upcoming PCI based M_CAN devices.
>> The current PM implementation would cause PCI based drivers to
>> enable PM twice, once when the PCI device is added and a second
>> time in m_can_class_register(). This will cause 'Unbalanced
>> pm_runtime_enable!' to be logged, and is a situation that should
>> be avoided.
>>
>> Therefore, in anticipation of PCI devices, move PM enabling out
>> from M_CAN class registration to its only user, the
>> m_can_platform driver.
>>
>> Signed-off-by: Patrik Flykt <patrik.flykt@xxxxxxxxxxxxxxx>
>> ---
>> v2: Rebased on mkl/linux-can.git 9146843b11b6
> 
> Ping ping?

Applied to linux-can/testing.

Thanks,
Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde           |
Embedded Linux                   | https://www.pengutronix.de  |
Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux