diff options
| author | Hugo Villeneuve <hvilleneuve@dimonoff.com> | 2025-10-06 10:20:02 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-10-29 14:09:02 +0100 |
| commit | 5036d2633741292e21b32b09d890d3de944045b4 (patch) | |
| tree | a9948393860e3f274c051cb2af6ac91ad6d5a4b6 /include/net/aligned_data.h | |
| parent | 7cbf5ed24a26d4d80dcc19eb2259fdb9b179d5cf (diff) | |
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>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
