drivers/serial: Change the default value of SERIAL_NPOLLWAITERS to 4

since the console is normally opened three time as stdin, stdout and
stderr and remove the dependence on STANDARD_SERIAL because other type
of serial drivers also support the poll through the same codebase.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ie68322c4647cc838b295491329969869d6ba310b
This commit is contained in:
Xiang Xiao
2021-05-07 05:09:33 -07:00
committed by Abdelatif Guettouche
parent 60c1b64747
commit 276fa2ff1c
2 changed files with 3 additions and 4 deletions
+2 -3
View File
@@ -91,11 +91,10 @@ config STANDARD_SERIAL
config SERIAL_NPOLLWAITERS
int "Number of poll threads"
default 2
depends on STANDARD_SERIAL
default 4
---help---
Maximum number of threads than can be waiting for POLL events.
Default: 2
Default: 4
config SERIAL_IFLOWCONTROL
bool