Displaying 3 results from an estimated 3 matches for "ec_write".
2008 Nov 12
4
test OpenVox B400P and junghans card for dahdi BRI wcb4xxp
...27???????? {0x1397, 0x08b4, PCI_ANY_ID,PCI_ANY_ID,0,0,(unsigned long)&wcb4xxp},
?? 2628????????? {0x1397, 0xe888, PCI_ANY_ID,PCI_ANY_ID,0,0,(unsigned long)&wcb4xxp},
?? 2629
?? 2630???????? { 0, }
?? 2631 };
============================================
the dmesg shows:
wcb4xxp 0000:02:02.0: ec_write: Wrote 0x20 to register 0x1ab of VPM 0 but got back 0x01
printk: 13709 messages suppressed.
wcb4xxp 0000:02:02.0: ec_write: Wrote 0x20 to register 0x1ab of VPM 0 but got back 0x01
printk: 13708 messages suppressed.
wcb4xxp 0000:02:02.0: ec_write: Wrote 0x20 to register 0x1ab of VPM 0 but got back 0...
2020 Oct 17
10
[RFC] treewide: cleanup unreachable breaks
...3be513..1c2084c74a57 100644
--- a/drivers/platform/x86/acer-wmi.c
+++ b/drivers/platform/x86/acer-wmi.c
@@ -790,11 +790,10 @@ static acpi_status AMW0_set_u32(u32 value, u32 cap)
if (value > max_brightness)
return AE_BAD_PARAMETER;
switch (quirks->brightness) {
default:
return ec_write(0x83, value);
- break;
}
default:
return AE_ERROR;
}
diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c
index e5a1b5533408..704813374922 100644
--- a/drivers/platform/x86/sony-laptop.c
+++ b/drivers/platform/x86/sony-laptop.c
@@ -2465,26 +2465,23 @@ s...
2020 Oct 17
10
[RFC] treewide: cleanup unreachable breaks
...3be513..1c2084c74a57 100644
--- a/drivers/platform/x86/acer-wmi.c
+++ b/drivers/platform/x86/acer-wmi.c
@@ -790,11 +790,10 @@ static acpi_status AMW0_set_u32(u32 value, u32 cap)
if (value > max_brightness)
return AE_BAD_PARAMETER;
switch (quirks->brightness) {
default:
return ec_write(0x83, value);
- break;
}
default:
return AE_ERROR;
}
diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c
index e5a1b5533408..704813374922 100644
--- a/drivers/platform/x86/sony-laptop.c
+++ b/drivers/platform/x86/sony-laptop.c
@@ -2465,26 +2465,23 @@ s...