aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/s3c-hsotg.c
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2010-04-28 17:31:36 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-04-30 09:25:12 -0700
commit8a3461e2cdb719ae4796feb70054f1597005af28 (patch)
tree6c8e2e8c0eb2f1808a435c2beb5768e141d1cad0 /drivers/usb/gadget/s3c-hsotg.c
parent869aa98c1d6a03dd2078f8f8257a0bcc343cb8b9 (diff)
USB: sl811-hcd: Fix device disconnect
A while ago I provided a patch that fixed device detection after device removal (USB: sl811-hcd: Fix device disconnect). Chris Brissette pointed out that the detection/removal counter method to distinguish insert or remove my fail under certain conditions. Latest SL811HS datasheet (Document 38-08008 Rev. *D) indicates that bit 6 (SL11H_INTMASK_RD) of the Interrupt Status Register together with bit 5 (SL11H_INTMASK_INSRMV) can be used to determine whether a device has been inserted or removed. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/s3c-hsotg.c')
0 files changed, 0 insertions, 0 deletions