[PATCH net-next 19/30] net: dsa: mt7530: set interrupt register only for MT7530

Arınç ÜNAL arinc.unal at arinc9.com
Sun Jun 4 00:18:20 PDT 2023


On 26.05.2023 16:25, Vladimir Oltean wrote:
> On Mon, May 22, 2023 at 03:15:21PM +0300, arinc9.unal at gmail.com wrote:
>> From: Arınç ÜNAL <arinc.unal at arinc9.com>
>>
>> Setting this register related to interrupts is only needed for the MT7530
>> switch. Make an exclusive check to ensure this.
>>
>> Signed-off-by: Arınç ÜNAL <arinc.unal at arinc9.com>
>> Acked-by: Daniel Golle <daniel at makrotopia.org>
>> Tested-by: Daniel Golle <daniel at makrotopia.org>
>> ---
> 
> Why does it matter? What prompted you to make this change? I guess it's
> not needed for MT7988? Or the register is not present? Or?...

It's not needed for the switch on the MT7988 SoC. The register is also 
likely specific to the MT7530 switch.

Arınç



More information about the linux-arm-kernel mailing list