mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
sinowealth: don't change active profile while probing
Official configuration utilities did this while probing if I remember correctly, but it's not actually necessary.
This commit is contained in:
@@ -1738,12 +1738,6 @@ sinowealth_probe(struct ratbag_device *device)
|
||||
if (rc)
|
||||
goto err;
|
||||
|
||||
rc = sinowealth_set_active_profile(device, 0);
|
||||
if (rc) {
|
||||
rc = -ENODEV;
|
||||
goto err;
|
||||
}
|
||||
|
||||
rc = sinowealth_init_profile(device);
|
||||
if (rc) {
|
||||
rc = -ENODEV;
|
||||
|
||||
Reference in New Issue
Block a user