OSDN Git Service

imx_serial: Generate interrupt on receive data ready if enabled
authorHans-Erik Floryd <hans-erik.floryd@rt-labs.com>
Mon, 20 Aug 2018 10:24:31 +0000 (11:24 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 20 Aug 2018 10:24:31 +0000 (11:24 +0100)
commit3c54cf7705f243c0d37f254abd0131ab69ae94e5
tree7b802eff843ca21a6353a87ed0ba755c6b2545ec
parent84be3ef1defeefc4ef157f8657d178d204ec0f3a
imx_serial: Generate interrupt on receive data ready if enabled

Generate an interrupt if USR2_RDR and UCR4_DREN are both set.

Signed-off-by: Hans-Erik Floryd <hans-erik.floryd@rt-labs.com>
Message-id: 1534341354-11956-1-git-send-email-hans-erik.floryd@rt-labs.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/char/imx_serial.c
include/hw/char/imx_serial.h