commit | b4faf7fe63201ad26b9c4ddf4742ad750c9f2d7a | [log] [tgz] |
---|---|---|
author | Wealian Liao <WHLIAO@nuvoton.com> | Mon Jun 21 10:05:31 2021 +0800 |
committer | Anas Nashif <anas.nashif@intel.com> | Tue Jun 22 20:31:09 2021 -0400 |
tree | 1b6db400fd0aeaaed83e739d8bdb7c9f04d9525f | |
parent | 471d5ea47464c92bf508cba62e81f089499324b8 [diff] |
driver: uart: npcx: Fix CR_SIN interrupt storm NPCX WIMU CR_SIN is used to wake up soc from NPCX sleep power state. The wake-up IRQ enabled when UART init. It causes the wake-up IRQ to generate many extra interrupt events, which causes the system too busy to handle other events. This PR moves the UART wake-up IRQ enabling from UART init to npcx_power_enter_system_sleep() to avoid the interrupt storm. Signed-off-by: Wealian Liao <WHLIAO@nuvoton.com>