rk27xx: substitute magic constants with meaningful names for INTC

Change-Id: Ic93114db351a9940a53d0c1df6439d82ada044e1
This commit is contained in:
Marcin Bukat 2012-12-17 09:51:08 +01:00
parent 15818bef55
commit efe1042759
6 changed files with 49 additions and 12 deletions

View file

@ -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