UPSTREAM: driver: uart_npcx: do not check for irq enable in irq ready functions

Current implementation of uart_npcx_irq_{tx,rx}_ready always returns
false if the respective interrupt enable bit is not set, which means
that the api cannot be used if the interrupts are temporarily disabled
for whatever reasons, breaking patterns such as [1].

Other uart drivers also seems to not have this check, this patch removes
it from the NPCX driver too.

[1] https://github.com/zephyrproject-rtos/zephyr/blob/master/drivers/console/uart_console.c#L549

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
(cherry picked from commit 951c99c61ae4f2b5a4f5e0d72804b3592cbcff83)
Change-Id: I32293db54b3d72e8741eedee92c3117f97bba401
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/2713062
Tested-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
1 file changed