Re: [PATCHv2] ata: sata_mv: Use platform_get_irq() to get interrupt
From: Damien Le Moal
Date: Fri Jul 17 2026 - 23:01:12 EST
On 7/13/26 07:20, Rosen Penev wrote:
> Extract platform_get_irq() out of the conditional block to run it
> unconditionally, replacing the direct use of irq_of_parse_and_map()
> for DT-based systems. This simplifies the probe logic and avoids the
> need for irq_dispose_mapping.
>
> Remove dead branch for platform_get_irq(). It intercepts 0 and returns
> -EINVAL, which goes to the first one.
>
> Assisted-by: Antigravity:Gemini-3.5-Flash
> Signed-off-by: Rosen Penev <rosenp@xxxxxxxxx>
Applied to for-7.3. Thanks!
--
Damien Le Moal
Western Digital Research