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

From: Arınç ÜNAL
Date: Sun Jun 04 2023 - 03:19:11 EST


On 26.05.2023 16:25, Vladimir Oltean wrote:
On Mon, May 22, 2023 at 03:15:21PM +0300, arinc9.unal@xxxxxxxxx wrote:
From: Arınç ÜNAL <arinc.unal@xxxxxxxxxx>

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@xxxxxxxxxx>
Acked-by: Daniel Golle <daniel@xxxxxxxxxxxxxx>
Tested-by: Daniel Golle <daniel@xxxxxxxxxxxxxx>
---

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ç