In case usb configuration is unknown (cdev->config == NULL), non standard request should not be processed. Remove also the cdev->config check below which will never happen. This issue was seen using ums feature. Change-Id: I6930deeceadf0eff8e4bfbfb6fdfb254d47a4c83 Signed-off-by: Christophe Kerello <christophe.kerello@st.com> Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit d57ed4d9f2cb6abc9438104f321b4fe3bc829d57) |
||
|---|---|---|
| .. | ||
| udc | ||
| Kconfig | ||
| Makefile | ||
| at91_udc.c | ||
| at91_udc.h | ||
| atmel_usba_udc.c | ||
| atmel_usba_udc.h | ||
| bcm_udc_otg.h | ||
| bcm_udc_otg_phy.c | ||
| ci_udc.c | ||
| ci_udc.h | ||
| composite.c | ||
| config.c | ||
| core.c | ||
| designware_udc.c | ||
| dwc2_udc_otg.c | ||
| dwc2_udc_otg_phy.c | ||
| dwc2_udc_otg_priv.h | ||
| dwc2_udc_otg_regs.h | ||
| dwc2_udc_otg_xfer_dma.c | ||
| ep0.c | ||
| ep0.h | ||
| epautoconf.c | ||
| ether.c | ||
| f_dfu.c | ||
| f_dfu.h | ||
| f_fastboot.c | ||
| f_mass_storage.c | ||
| f_rockusb.c | ||
| f_sdp.c | ||
| f_thor.c | ||
| f_thor.h | ||
| fotg210.c | ||
| g_dnl.c | ||
| gadget_chips.h | ||
| ndis.h | ||
| pxa25x_udc.c | ||
| pxa25x_udc.h | ||
| pxa27x_udc.c | ||
| rndis.c | ||
| rndis.h | ||
| storage_common.c | ||
| usbstring.c | ||