diff options
| author | Hugo Villeneuve <[email protected]> | 2025-10-06 14:20:02 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-10-22 10:12:06 +0000 |
| commit | 1c05bf6c0262f946571a37678250193e46b1ff0f (patch) | |
| tree | 8758302f9ef7ee2a791d8e9e62690f26b1a1ace1 /lib/test_fortify/write_overflow-strlcpy-src.c | |
| parent | serial: 8250_exar: add support for Advantech 2 port card with Device ID 0x0018 (diff) | |
| download | kernel-1c05bf6c0262f946571a37678250193e46b1ff0f.tar.gz kernel-1c05bf6c0262f946571a37678250193e46b1ff0f.zip | |
serial: sc16is7xx: remove useless enable of enhanced features
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 <[email protected]>
Signed-off-by: Hugo Villeneuve <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions
