Re: [PATCHv2] ata: sata_mv: Use platform_get_irq() to get interrupt
Damien Le Moal <[email protected]> Sat, 18 Jul 2026 12:01:07 +0900
| Newsgroups | org.kernel.vger.linux-ide,org.kernel.vger.linux-kernel |
|---|---|
| Organization | Western Digital Research |
| Message-ID | <[email protected]> |
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 <[email protected]> Applied to for-7.3. Thanks! -- Damien Le Moal Western Digital Research