Commit 5bfc311
usb: xhci: correct return value in case of STS_HCE
If we get STS_HCE we give up on the interrupt, but for the purpose
of IRQ handling that still counts as ours. We may return IRQ_NONE
only if we are positive that it wasn't ours. Hence correct the default.
Fixes: 2a25e66 ("xhci: print warning when HCE was set")
Cc: stable@vger.kernel.org # v6.2+
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20240404121106.2842417-2-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 39cd87c commit 5bfc311
1 file changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3133 | 3133 | | |
3134 | 3134 | | |
3135 | 3135 | | |
3136 | | - | |
| 3136 | + | |
3137 | 3137 | | |
3138 | 3138 | | |
3139 | 3139 | | |
3140 | 3140 | | |
3141 | 3141 | | |
3142 | 3142 | | |
3143 | 3143 | | |
3144 | | - | |
3145 | 3144 | | |
3146 | 3145 | | |
3147 | 3146 | | |
3148 | | - | |
| 3147 | + | |
| 3148 | + | |
3149 | 3149 | | |
| 3150 | + | |
3150 | 3151 | | |
3151 | 3152 | | |
3152 | 3153 | | |
| |||
3156 | 3157 | | |
3157 | 3158 | | |
3158 | 3159 | | |
3159 | | - | |
3160 | 3160 | | |
3161 | 3161 | | |
3162 | 3162 | | |
| |||
3167 | 3167 | | |
3168 | 3168 | | |
3169 | 3169 | | |
3170 | | - | |
3171 | 3170 | | |
3172 | 3171 | | |
3173 | 3172 | | |
| |||
0 commit comments