Commit 1c05bf6
serial: sc16is7xx: remove useless enable of enhanced features
Commit 43c51bb ("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: 43c51bb ("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]>1 parent e7cbce7 commit 1c05bf6
1 file changed
+0
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
588 | 588 | | |
589 | 589 | | |
590 | 590 | | |
591 | | - | |
592 | | - | |
593 | | - | |
594 | | - | |
595 | | - | |
596 | | - | |
597 | | - | |
598 | 591 | | |
599 | 592 | | |
600 | 593 | | |
| |||
0 commit comments