diff options
author | Krzysztof Kozlowski <[email protected]> | 2017-02-25 18:36:44 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2017-03-07 19:58:37 +0100 |
commit | f98c7bce570bdbe344b74ff5daa7dfeef3f22929 (patch) | |
tree | e8eb467f26bc66caa033b134e59867ed48d93fc4 /lib/string_helpers.c | |
parent | 82f2341c94d270421f383641b7cd670e474db56b (diff) |
serial: samsung: Continue to work if DMA request fails
If DMA is not available (even when configured in DeviceTree), the driver
will fail the startup procedure thus making serial console not
available.
For example this causes boot failure on QEMU ARMv7 (Exynos4210, SMDKC210):
[ 1.302575] OF: amba_device_add() failed (-19) for /amba/pdma@12680000
...
[ 11.435732] samsung-uart 13800000.serial: DMA request failed
[ 72.963893] samsung-uart 13800000.serial: DMA request failed
[ 73.143361] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000
DMA is not necessary for serial to work, so continue with UART startup
after emitting a warning.
Fixes: 62c37eedb74c ("serial: samsung: add dma reqest/release functions")
Cc: <[email protected]>
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions