tty: xilinx_uartps: Initialise the read_status_mask
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Fri, 29 Jul 2022 11:47:44 +0000 (17:17 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Aug 2022 11:25:04 +0000 (13:25 +0200)
commit03a94800b9f35d6d1ef231f50758f88d5f76bbb0
tree34f432ba33346be88e9273872ef4d44fc5178eab
parent7bdd444b2d735a123678ea9afaf446d3508f21f2
tty: xilinx_uartps: Initialise the read_status_mask

Initialise the read status in probe.
It will be checked in the isr so to have the default values lets initialise
in probe.

Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Link: https://lore.kernel.org/r/20220729114748.18332-4-shubhrajyoti.datta@xilinx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/xilinx_uartps.c