commit | e5e8bbd25a499e65e7403b0b054fe35abe5187b3 | [log] [tgz] |
---|---|---|
author | Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> | Tue Dec 01 00:34:47 2020 -0700 |
committer | Michal Simek <michal.simek@xilinx.com> | Mon Jan 04 10:51:26 2021 +0100 |
tree | 409b92d16db048cbd3dd2d7fb24eac4891014770 | |
parent | d91a652cfd96e2c4217946a1839cf3c8c0523e85 [diff] |
serial: uartlite: Fix uninitialized ret in debug uartlite Endianness detection is checked against uninitialized ret variable. Assign ret with read value from status register to fix this. Fixes: 31a359f87eaa ("serial: uartlite: Add support to work with any endianness") Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>