diff options
author | Jon Hunter <[email protected]> | 2021-06-30 13:56:43 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-07-21 12:53:00 +0200 |
commit | cc9ca4d95846cbbece48d9cd385550f8fba6a3c1 (patch) | |
tree | 702d306f0d7f3e73c66240d76e7ac648a1a53e13 /drivers/fpga/fpga-region.c | |
parent | 9a936d6c3d3d6c33ecbadf72dccdb567b5cd3c72 (diff) |
serial: tegra: Only print FIFO error message when an error occurs
The Tegra serial driver always prints an error message when enabling the
FIFO for devices that have support for checking the FIFO enable status.
Fix this by displaying the error message, only when an error occurs.
Finally, update the error message to make it clear that enabling the
FIFO failed and display the error code.
Fixes: 222dcdff3405 ("serial: tegra: check for FIFO mode enabled status")
Cc: <[email protected]>
Acked-by: Thierry Reding <[email protected]>
Signed-off-by: Jon Hunter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions