[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4113a9cf-650c-e086-fcd9-b126da1597eb@arm.com>
Date: Tue, 24 Dec 2019 14:35:27 +0000
From: Cristian Marussi <cristian.marussi@....com>
To: Sudeep Holla <sudeep.holla@....com>,
linux-arm <linux-arm-kernel@...ts.infradead.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 07/11] firmware: arm_scmi: Skip protocol initialisation
for additional devices
Hi
On 24/12/2019 14:33, Sudeep Holla wrote:
> On Wed, Dec 18, 2019 at 11:19 AM Sudeep Holla <sudeep.holla@....com> wrote:
>>
>> The scmi bus now supports adding multiple devices per protocol,
>> and since scmi_protocol_init is called for each scmi device created,
>> we must avoid allocating protocol private data and initialising the
>> protocol itself if it is already initialised.
>>
>> In order to achieve the same, we can simple replace the idr pointer
>> from protocol initialisation function to a dummy function.
>>
>> Suggested-by: Cristian Marussi <cristian.marussi@....com>
>
>
> Hi Cristian,
>
> Are you fine with this approach ? If yes, I plan to apply this series.
>
Yes sure...forgot this was pending.
Reviewed-by: Cristian Marussi <cristian.marussi@....com>
Cristian
> --
> Regards,
> Sudeep
>
Powered by blists - more mailing lists