WSL2-Linux-Kernel/drivers/usb/musb
Ajay Kumar Gupta 2bbff7b742 USB: musb: fix CONFIGDATA register read issue
INDEX register has to be set to '0' before reading
CONFIGDATA register which is only present in TI musb
platforms.

Currently the default register access mode is set to
FLAT_MODE thus INDEX register is not getting set
properly with musb_ep_select() which is just a nop
operation in FLAT_MODE.This invalid register read is
causing module reinset failure.

Fixing the issue by moving INDEX register write part to
musb_read_configdata() function itself.

Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-07-28 14:31:11 -07:00
..
Kconfig musb: proper hookup to transceiver drivers 2009-06-15 21:44:40 -07:00
Makefile USB: musb: add Blackfin Kconfig options and Makefile 2009-01-07 10:00:08 -08:00
blackfin.c musb: proper hookup to transceiver drivers 2009-06-15 21:44:40 -07:00
blackfin.h USB: musb: add Blackfin driver to MUSB framework (v2) 2009-01-07 10:00:07 -08:00
cppi_dma.c musb: split out CPPI interrupt handler 2009-06-15 21:44:40 -07:00
cppi_dma.h headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00
davinci.c USB: musb: silence "suspend as a_wait_vrise is_active" msgs 2009-07-12 15:16:37 -07:00
davinci.h USB: musb: partial DaVinci dm355 support 2009-03-24 16:20:36 -07:00
musb_core.c USB: musb: fix CONFIGDATA register read issue 2009-07-28 14:31:11 -07:00
musb_core.h headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00
musb_debug.h usb: musb: fix debug global variable name 2008-11-13 14:45:01 -08:00
musb_dma.h USB: Add MUSB and TUSB support 2008-08-13 17:33:00 -07:00
musb_gadget.c musb: use dma mode 1 for TX if transfer size equals maxpacket (v2) 2009-06-15 21:44:41 -07:00
musb_gadget.h USB: Add MUSB and TUSB support 2008-08-13 17:33:00 -07:00
musb_gadget_ep0.c USB: musb_gadget_ep0: fix typo in service_zero_data_request() 2009-07-28 14:31:11 -07:00
musb_host.c USB: musb_host: undo incorrect change in musb_advance_schedule() 2009-07-12 15:16:40 -07:00
musb_host.h musb: add high bandwidth ISO support 2009-06-15 21:44:41 -07:00
musb_io.h USB: musb: Blackfin provides read/write I/O accessor in header files 2009-01-07 10:00:08 -08:00
musb_regs.h USB: musb: fix CONFIGDATA register read issue 2009-07-28 14:31:11 -07:00
musb_virthub.c musb: support disconnect after HNP roleswitch 2009-06-15 21:44:41 -07:00
musbhsdma.c USB: musb: sanitize clearing TXCSR DMA bits (take 2) 2009-04-17 10:50:25 -07:00
musbhsdma.h USB: musb: enable low level DMA operation for Blackfin 2009-01-07 10:00:07 -08:00
omap2430.c usb: musb: disable OTG AUTOIDLE only with omap3430 2009-06-15 21:44:46 -07:00
omap2430.h usb: musb: fix include path 2008-09-23 13:58:08 -07:00
tusb6010.c musb: proper hookup to transceiver drivers 2009-06-15 21:44:40 -07:00
tusb6010.h USB: musb: Remove my email address from few musb related drivers 2009-04-23 14:15:27 -07:00
tusb6010_omap.c USB: musb: tusb6010 buildfix 2009-01-27 16:15:33 -08:00