[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a967e70e-456d-7855-6bb1-2e2285ce6f9b@pengutronix.de>
Date: Fri, 6 Dec 2019 08:39:02 +0100
From: Marc Kleine-Budde <mkl@...gutronix.de>
To: Dan Murphy <dmurphy@...com>,
Pankaj Sharma <pankj.sharma@...sung.com>,
linux-can@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: wg@...ndegger.com, davem@...emloft.net, rcsekar@...sung.com,
pankaj.dubey@...sung.com
Subject: Re: [PATCH 0/2] can: m_can_platform: Bug fix of kernel panic for
On 12/5/19 9:57 PM, Dan Murphy wrote:
> Pankaj
>
> On 11/19/19 4:20 AM, Pankaj Sharma wrote:
>> The current code is failing while clock prepare enable because of not
>> getting proper clock from platform device.
>> A device driver for CAN controller hardware registers itself with the
>> Linux network layer as a network device. So, the driver data for m_can
>> should ideally be of type net_device.
>>
>> Further even when passing the proper net device in probe function the
>> code was hanging because of the function m_can_runtime_resume() getting
>> recursively called from m_can_class_resume().
>>
>> Pankaj Sharma (2):
>> can: m_can_platform: set net_device structure as driver data
>> can: m_can_platform: remove unnecessary m_can_class_resume() call
>
> Did you CC: linux-stable for these? We are probably going to have
> customers picking up 5.4 LTS and would need these bug fixes.
Both patches made it into the v5.4 release. So no need for stable.
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 |
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists