Re: [PATCH] ata: sata_mv: accept 1 or 2 resources in platform probe

From: Damien Le Moal

Date: Fri Jul 17 2026 - 21:38:27 EST


On 7/13/26 07:31, Rosen Penev wrote:
> Board files in arch/arm/plat-orion, arch/arm/mach-dove,
> arch/arm/mach-mv78xx0 and arch/arm/mach-orion5x still register the
> "sata_mv" device with two resources (IORESOURCE_MEM plus IORESOURCE_IRQ).
> Those devices are rejected with -EINVAL, so SATA no longer probes on
> legacy Marvell Orion/Kirkwood-style boards.
>
> Accept both 1 resource (DT, IRQ fetched via platform_get_irq()) and 2
> resources (legacy, IRQ supplied as a second resource) so both probing
> paths work.
>
> Fixes: b3b2bec9646e ("ata: sata_mv: Fixes expected number of resources now IRQs are gone")
> Assisted-by: opencode:big-pickle
> Signed-off-by: Rosen Penev <rosenp@xxxxxxxxx>

Applied to for-7.2-fixes. Thanks!


--
Damien Le Moal
Western Digital Research