mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
rk27xx: substitute magic constants with meaningful names for INTC
Change-Id: Ic93114db351a9940a53d0c1df6439d82ada044e1
This commit is contained in:
parent
15818bef55
commit
efe1042759
6 changed files with 49 additions and 12 deletions
|
|
@ -715,8 +715,8 @@ void usb_drv_exit(void)
|
|||
DEV_CTL = DEV_SELF_PWR;
|
||||
|
||||
/* disable USB interrupts in interrupt controller */
|
||||
INTC_IMR &= ~(1<<16);
|
||||
INTC_IECR &= ~(1<<16);
|
||||
INTC_IMR &= ~IRQ_ARM_UDC;
|
||||
INTC_IECR &= ~IRQ_ARM_UDC;
|
||||
|
||||
/* we cannot disable UDC clock since this causes data abort
|
||||
* when reading DEV_INFO in order to check usb connect event
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue