Skip to content

Commit e1dc9b0

Browse files
Wei Qiaogregkh
authored andcommitted
serial: sprd: adjust TIMEOUT to a big value
SPRD_TIMEOUT was 256, which is too small to wait until the status switched to workable in a while loop, so that the earlycon could not work correctly. Signed-off-by: Wei Qiao <wei.qiao@spreadtrum.com> Signed-off-by: Chunyan Zhang <chunyan.zhang@spreadtrum.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 26b82ca commit e1dc9b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/tty/serial/sprd_serial.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
#define SPRD_FIFO_SIZE 128
3737
#define SPRD_DEF_RATE 26000000
3838
#define SPRD_BAUD_IO_LIMIT 3000000
39-
#define SPRD_TIMEOUT 256
39+
#define SPRD_TIMEOUT 256000
4040

4141
/* the offset of serial registers and BITs for them */
4242
/* data registers */

0 commit comments

Comments
 (0)