]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
serial: sc16is7xx: remove useless enable of enhanced features
authorHugo Villeneuve <hvilleneuve@dimonoff.com>
Mon, 6 Oct 2025 14:20:02 +0000 (10:20 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Oct 2025 13:10:31 +0000 (14:10 +0100)
commitea5ea27dedfd1f5c94bdb7cd38630561f1645b1e
tree4e7314d103bedcb4b0f0a64bab122326956f611e
parent6723fbdf6be82ed9bdcad36aa4df0d4534b886a0
serial: sc16is7xx: remove useless enable of enhanced features

commit 1c05bf6c0262f946571a37678250193e46b1ff0f upstream.

Commit 43c51bb573aa ("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: 43c51bb573aa ("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>
drivers/tty/serial/sc16is7xx.c