Re: [PATCH 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 Tue, 2020-09-01 at 13:22 -0500, Dan Murphy wrote:
> Patrik
> 
> On 8/25/20 5:17 AM, 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 currently only user, the
> > m_can_platform driver.

> Reviewed-by: Dan Murphy <dmurphy@xxxxxx>

Ping?

Can this patch be added as-is or should it be sent in the patch set
providing a PCI based M_CAN device?

Cheers,

	Patrik




[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