diff options
| author | Nikolay Borisov <nik.borisov@suse.com> | 2026-09-17 18:07:07 +0300 |
|---|---|---|
| committer | Niklas Cassel <cassel@kernel.org> | 2026-09-17 20:00:37 +0200 |
| commit | e137035fcd66cb454c479bb989968561bbc60341 (patch) | |
| tree | afa7fe6d41c19bbe0c70a735669420d53f24ad6a /tools/lib/python | |
| parent | 52d19459ca79fef362126e472b9e9a3bfc5020b8 (diff) | |
ata: sata_dwc_460ex: Don't enable interrupt if libATA core registration fails
Recent 4bbc16a353a9 commit changed the timing when interrupts are
enabled. However it didn't account for the libATA registration step. So
it's possible that interrupts are enabled when the device is not
registered with libATA core.
Resolve the issue by failing the entire registration process in case of
failure to register with libATA.
Fixes: 4bbc16a353a9 ("ata: sata_dwc_460ex: enable SATA interrupts only after IRQ handler is registered")
Signed-off-by: Nikolay Borisov <nik.borisov@suse.com>
Link: https://lore.kernel.org/r/20260917150707.1643330-1-nik.borisov@suse.com
Signed-off-by: Niklas Cassel <cassel@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
