Files
kernel-sophgo-sg2044-revyos…/drivers/tty
Hugo Villeneuve ea5ea27ded serial: sc16is7xx: remove useless enable of enhanced features
commit 1c05bf6c0262f946571a37678250193e46b1ff0f upstream.

Commit 43c51bb573 ("sc16is7xx: make sure device is in suspend once
probed") permanently enabled access to the enhanced features in
sc16is7xx_probe(), and it is never disabled after that.

Therefore, remove re-enable of enhanced features in
sc16is7xx_set_baud(). This eliminates a potential useless read + write
cycle each time the baud rate is reconfigured.

Fixes: 43c51bb573 ("sc16is7xx: make sure device is in suspend once probed")
Cc: stable <stable@kernel.org>
Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Link: https://patch.msgid.link/20251006142002.177475-1-hugo@hugovil.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-10-29 14:10:31 +01:00
..
2025-04-25 13:42:35 +02:00
2023-12-08 12:02:38 +01:00
2025-04-25 13:46:31 +02:00