2023-07-18 09:42:44

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH v1] led: flash: various minor fixes for leds-qcom-flash driver

On 18/07/2023 11:24, Fenglin Wu wrote:
> Update the driver to address following minor issues:
> - Add a sentence in Kconfig to explain the driver can be compiled
> as a module
> - strobe off the LED channel before setting flash current to prevent
> the flash LED being lit with an incorrect brightness if it was
> already active in torch mode
> - put the child node if register any flash LED device failed.

Don't mix different fixes and changes in one commit.

Also, please use scripts/get_maintainers.pl to get a list of necessary
people and lists to CC (and consider --no-git-fallback argument). I
really do not see a point why I am cc-ed here.

Best regards,
Krzysztof



2023-07-18 10:06:02

by Fenglin Wu

[permalink] [raw]
Subject: Re: [PATCH v1] led: flash: various minor fixes for leds-qcom-flash driver



On 7/18/2023 5:32 PM, Krzysztof Kozlowski wrote:
> On 18/07/2023 11:24, Fenglin Wu wrote:
>> Update the driver to address following minor issues:
>> - Add a sentence in Kconfig to explain the driver can be compiled
>> as a module
>> - strobe off the LED channel before setting flash current to prevent
>> the flash LED being lit with an incorrect brightness if it was
>> already active in torch mode
>> - put the child node if register any flash LED device failed.
>
> Don't mix different fixes and changes in one commit.
>
> Also, please use scripts/get_maintainers.pl to get a list of necessary
> people and lists to CC (and consider --no-git-fallback argument). I
> really do not see a point why I am cc-ed here.
>
> Best regards,
> Krzysztof

I understood that we should separate the changes for different fixes.

I am trying to address the review comment from Pavel that was coming
late after the original changes were applied:
https://lore.kernel.org/linux-arm-msm/20230325170957.GA2904@bug/ (sorry
for just got time to work on this), since all of them are small ones and
all related with the same driver, so I thought it might be good to put
them together and update with a single patch?

BTW, you are copied because you also reviewed the original changes.
Thanks



>

2023-07-19 09:03:18

by Lee Jones

[permalink] [raw]
Subject: Re: [PATCH v1] led: flash: various minor fixes for leds-qcom-flash driver

On Tue, 18 Jul 2023, Fenglin Wu wrote:

>
>
> On 7/18/2023 5:32 PM, Krzysztof Kozlowski wrote:
> > On 18/07/2023 11:24, Fenglin Wu wrote:
> > > Update the driver to address following minor issues:
> > > - Add a sentence in Kconfig to explain the driver can be compiled
> > > as a module
> > > - strobe off the LED channel before setting flash current to prevent
> > > the flash LED being lit with an incorrect brightness if it was
> > > already active in torch mode
> > > - put the child node if register any flash LED device failed.
> >
> > Don't mix different fixes and changes in one commit.
> >
> > Also, please use scripts/get_maintainers.pl to get a list of necessary
> > people and lists to CC (and consider --no-git-fallback argument). I
> > really do not see a point why I am cc-ed here.
> >
> > Best regards,
> > Krzysztof
>
> I understood that we should separate the changes for different fixes.
>
> I am trying to address the review comment from Pavel that was coming late
> after the original changes were applied:
> https://lore.kernel.org/linux-arm-msm/20230325170957.GA2904@bug/ (sorry for
> just got time to work on this), since all of them are small ones and all
> related with the same driver, so I thought it might be good to put them
> together and update with a single patch?

Separate patches - one per functional change please.

--
Lee Jones [李琼斯]

2023-07-19 09:05:25

by Fenglin Wu

[permalink] [raw]
Subject: Re: [PATCH v1] led: flash: various minor fixes for leds-qcom-flash driver



On 7/19/2023 4:50 PM, Lee Jones wrote:
> On Tue, 18 Jul 2023, Fenglin Wu wrote:
>
>>
>>
>> On 7/18/2023 5:32 PM, Krzysztof Kozlowski wrote:
>>> On 18/07/2023 11:24, Fenglin Wu wrote:
>>>> Update the driver to address following minor issues:
>>>> - Add a sentence in Kconfig to explain the driver can be compiled
>>>> as a module
>>>> - strobe off the LED channel before setting flash current to prevent
>>>> the flash LED being lit with an incorrect brightness if it was
>>>> already active in torch mode
>>>> - put the child node if register any flash LED device failed.
>>>
>>> Don't mix different fixes and changes in one commit.
>>>
>>> Also, please use scripts/get_maintainers.pl to get a list of necessary
>>> people and lists to CC (and consider --no-git-fallback argument). I
>>> really do not see a point why I am cc-ed here.
>>>
>>> Best regards,
>>> Krzysztof
>>
>> I understood that we should separate the changes for different fixes.
>>
>> I am trying to address the review comment from Pavel that was coming late
>> after the original changes were applied:
>> https://lore.kernel.org/linux-arm-msm/20230325170957.GA2904@bug/ (sorry for
>> just got time to work on this), since all of them are small ones and all
>> related with the same driver, so I thought it might be good to put them
>> together and update with a single patch?
>
> Separate patches - one per functional change please.
sure. I will separate them and send them out.
Thanks

>