Commit 641a41d
serial: sh-sci: Fix could not remove dev_attr_rx_fifo_timeout
This patch fixes an issue that the sci_remove() could not remove
dev_attr_rx_fifo_timeout because uart_remove_one_port() set
the port->port.type to PORT_UNKNOWN.
Reported-by: Hiromitsu Yamasaki <hiromitsu.yamasaki.ym@renesas.com>
Fixes: 5d23188 ("serial: sh-sci: make RX FIFO parameters tunable via sysfs")
Cc: <stable@vger.kernel.org> # v4.11+
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Ulrich Hecht <uli+renesas@fpond.eu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent d0ffb80 commit 641a41d
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3102 | 3102 | | |
3103 | 3103 | | |
3104 | 3104 | | |
| 3105 | + | |
3105 | 3106 | | |
3106 | 3107 | | |
3107 | 3108 | | |
| |||
3112 | 3113 | | |
3113 | 3114 | | |
3114 | 3115 | | |
3115 | | - | |
3116 | | - | |
| 3116 | + | |
3117 | 3117 | | |
3118 | 3118 | | |
3119 | 3119 | | |
| |||
0 commit comments