Commit ad75bd8
committed
platform/x86: sony-laptop: Don't turn off 0x153 keyboard backlight during probe
The 0x153 version of the kbd backlight control SNC handle has no separate
address to probe if the backlight is there.
This turns the probe call into a set keyboard backlight call with a value
of 0 turning off the keyboard backlight.
Skip probing when there is no separate probe address to avoid this.
Link: https://bugzilla.redhat.com/show_bug.cgi?id=1583752
Fixes: 800f201 ("Keyboard backlight control for some Vaio Fit models")
Signed-off-by: Hans de Goede <[email protected]>
Reviewed-by: Mattia Dongili <[email protected]>
Link: https://lore.kernel.org/r/[email protected]1 parent 1b929c0 commit ad75bd8
1 file changed
+14
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1887 | 1887 | | |
1888 | 1888 | | |
1889 | 1889 | | |
1890 | | - | |
1891 | | - | |
1892 | | - | |
| 1890 | + | |
| 1891 | + | |
| 1892 | + | |
| 1893 | + | |
| 1894 | + | |
| 1895 | + | |
| 1896 | + | |
| 1897 | + | |
| 1898 | + | |
1893 | 1899 | | |
1894 | | - | |
1895 | | - | |
1896 | | - | |
1897 | | - | |
| 1900 | + | |
| 1901 | + | |
| 1902 | + | |
| 1903 | + | |
| 1904 | + | |
1898 | 1905 | | |
1899 | 1906 | | |
1900 | 1907 | | |
| |||
0 commit comments