]> www.infradead.org Git - users/willy/xarray.git/commit
usb: cdnsp: fix incorrect index in cdnsp_get_hw_deq function
authorPawel Laszczak <pawell@cadence.com>
Tue, 20 Aug 2024 08:21:19 +0000 (08:21 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Aug 2024 09:15:35 +0000 (17:15 +0800)
commit0497a356d3c498221eb0c1edc1e8985816092f12
tree164f3cdfaf397e6365a7fb8bb1bf7f3b96e6a51f
parent14e497183df28c006603cc67fd3797a537eef7b9
usb: cdnsp: fix incorrect index in cdnsp_get_hw_deq function

Patch fixes the incorrect "stream_id" table index instead of
"ep_index" used in cdnsp_get_hw_deq function.

Fixes: 3d82904559f4 ("usb: cdnsp: cdns3 Add main part of Cadence USBSSP DRD Driver")
cc: stable@vger.kernel.org
Signed-off-by: Pawel Laszczak <pawell@cadence.com>
Reviewed-by: Peter Chen <peter.chen@kernel.org>
Link: https://lore.kernel.org/r/PH7PR07MB95381F2182688811D5C711CEDD8D2@PH7PR07MB9538.namprd07.prod.outlook.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/cdns3/cdnsp-ring.c