]> git.baikalelectronics.ru Git - kernel.git/commit
ata: sata_mv: Fixes expected number of resources now IRQs are gone
authorAndrew Lunn <andrew@lunn.ch>
Sun, 31 Jul 2022 20:49:06 +0000 (22:49 +0200)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Tue, 2 Aug 2022 22:59:12 +0000 (07:59 +0900)
commit25d7a60e5172b841d0ce1cec1463208566cdc6d1
tree36ad698bfa048a7bb3a50fe94d3755eecb52f32d
parentedc0d3e1e3cf6b8b50e1c11d751aecd8fb569f3e
ata: sata_mv: Fixes expected number of resources now IRQs are gone

The commit 7becc388bb74 ("of/platform: Drop static setup of IRQ
resource from DT core") stopped IRQ resources being available as
platform resources. This broke the sanity check for the expected
number of resources in the Marvell SATA driver which expected two
resources, the IO memory and the interrupt.

Change the sanity check to only expect the IO memory.

Cc: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Fixes: 7becc388bb74 ("of/platform: Drop static setup of IRQ resource from DT core")
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
drivers/ata/sata_mv.c