1
0
Fork 0
forked from len0rd/rockbox

usb-drv-as3525v2: move interrupt disable

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31486 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2011-12-31 18:43:32 +00:00
parent 61f64d93ee
commit 12a45549f6

View file

@ -239,9 +239,10 @@ void usb_drv_init(void)
void usb_drv_exit(void)
{
DCTL = DCTL_pwronprgdone | DCTL_sftdiscon;
VIC_INT_EN_CLEAR = INTERRUPT_USB;
DCTL = DCTL_pwronprgdone | DCTL_sftdiscon;
sleep(HZ/20);
CGU_USB = 0;