[PATCH 6/6] soc: mediatek: mtk-svs: Use bitfield access macros where possible

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Mon Aug 29 02:36:52 PDT 2022


Il 25/08/22 20:50, Nícolas F. R. A. Prado ha scritto:
> On Thu, Aug 25, 2022 at 03:29:33PM +0200, Matthias Brugger wrote:
>>
>>
>> On 26/07/2022 16:16, AngeloGioacchino Del Regno wrote:
>>> In order to enhance readability and safety during registers setup
>>> and value retrieval, redefine a few register related macros and
>>> convert all open-coded instances of bitfield setting/retrieval
>>> to use the FIELD_PREP() and FIELD_GET() macros.
>>> While at it, some macros were renamed to further enhance readability.
>>>
>>> This commit brings no functional changes.
>>>
>>> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
>>
>> Does not apply, would you mind to resend together with 1/6? Thanks!
> 
> Hi Matthias,
> 
> Patches 1 and 6 rebased and sent [1].
> 
> Thanks,
> Nícolas
> 
> [1] https://lore.kernel.org/all/20220825184616.2118870-1-nfraprado@collabora.com


Uh, sorry for the previous noise - didn't notice this email.
Many thanks for timely rebasing the patches!

Cheers!



More information about the linux-arm-kernel mailing list