usb: gadget: s3c-hsotg: delay enabling irq once hardware is configured properly
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 17 Jun 2014 15:33:33 +0000 (17:33 +0200)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:59:52 +0000 (11:59 +0900)
commit9c4713e315e6506dc25582521e7816176a858f2b
treec59fc04fb4a0f558318743b33e19444cbd47c3f8
parent058cfe215d98bbab385a75a738f293e1c4f2bb20
usb: gadget: s3c-hsotg: delay enabling irq once hardware is configured properly

This patch fixes kernel panic/interrupt storm/etc issues if bootloader
left s3c-hsotg module in enabled state. Now interrupt handler is enabled
only after proper configuration of hardware registers.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I665fde86a7ca018e0d19610877828d0495535ade
drivers/usb/gadget/s3c-hsotg.c