Hello, This is a second version of set of patches fixing s3c-hsotg USB driver functioning. I've fixed issuses pointed by Felipe Balbi. For more information, please check the change log at the end of the mail. These patches add few fixes: - Fix "protocol stall" handling, by enqueue new ep0 request when stalled - Fix s3c_hsotg_write_fifo function to be usable in dedicated-fifo mode. Actually PTxFEmp/NPTxFEmp interrupts are enabled only in shared-fifo mode. - Fix endpoint interrput handling, by disabling interrupts for endpoints which has no requests enqueued. - Fixed DAINT register usage. Now only masked ep interrupts are handled. - Fix "halt" property updating. - Fix endpoint halt clearing, when it is not currently halted. Best regards Robert Baldyga Samsung R&D Institute Poland Changelog: v2: - splitted patches to get one fix in each patch, as Felipe Balbi suggested - fixed typos v1: https://lkml.org/lkml/2013/9/12/324 - initial proposal Robert Baldyga (6): USB: gadget: s3c-hsotg: fix "protocol stall" handling USB: gadget: s3c-hsotg: fix s3c_hsotg_write_fifo function for dedicated fifo mode USB: gadget: s3c-hsotg: fix endpoint interrupts handling USB: gadget: s3c-hsotg: add DAINT masking USB: gadget: s3c-hsotg: fix "halted" property updating USB: gadget: s3c-hsotg: fix clear feature ENDPOINT_HALT drivers/usb/gadget/s3c-hsotg.c | 60 ++++++++++++++++++++++++++++++++-------- 1 file changed, 48 insertions(+), 12 deletions(-) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html