mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 04:48:04 +09:00
disable usb uart debug by default
This commit is contained in:
@@ -166,7 +166,7 @@ config RK_DEBUG_UART
|
||||
config RK_USB_UART
|
||||
bool "Support USB UART Bypass Function"
|
||||
depends on ARCH_RK2928 && (RK_DEBUG_UART = 2)
|
||||
default y
|
||||
default n
|
||||
|
||||
config RK_CONSOLE_THREAD
|
||||
bool "Console write by thread"
|
||||
|
||||
4
arch/arm/plat-rk/usb_detect.c
Normal file → Executable file
4
arch/arm/plat-rk/usb_detect.c
Normal file → Executable file
@@ -84,6 +84,10 @@ static irqreturn_t bvalid_irq_handler(int irq, void *dev_id)
|
||||
#ifdef CONFIG_ARCH_RK2928
|
||||
writel_relaxed((1 << 31) | (1 << 15), RK2928_GRF_BASE + GRF_UOC0_CON5);
|
||||
#endif
|
||||
#ifdef CONFIG_RK_USB_UART
|
||||
/* usb otg dp/dm switch to usb phy */
|
||||
writel_relaxed((3 << (12 + 16)),RK2928_GRF_BASE + GRF_UOC1_CON4);
|
||||
#endif
|
||||
|
||||
wake_lock_timeout(&usb_wakelock, WAKE_LOCK_TIMEOUT);
|
||||
rk28_send_wakeup_key();
|
||||
|
||||
Reference in New Issue
Block a user