<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lwn.git/drivers/platform, branch v3.17-rc4</title>
<subtitle>Linux kernel documentation tree maintained by Jonathan Corbet</subtitle>
<id>http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v3.17-rc4</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v3.17-rc4'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/'/>
<updated>2014-09-03T17:45:12+00:00</updated>
<entry>
<title>toshiba_acpi: fix and cleanup toshiba_kbd_bl_mode_store()</title>
<updated>2014-09-03T17:45:12+00:00</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2014-09-03T11:44:37+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=aeaac098bd58349d7415acd998089309fd798190'/>
<id>urn:sha1:aeaac098bd58349d7415acd998089309fd798190</id>
<content type='text'>
The current code just returns -EINVAL because mode can't be equal to
both 1 and 2.

Also this function is messy so I have cleaned it up:
1) Remove initializers like "int time = -1".  Initializing variables to
   garbage values turns off GCC's uninitialized variable warnings so it
   can lead to bugs.
2) Use kstrtoint() instead of sscanf().
3) Use SCI_KBD_MODE_FNZ and SCI_KBD_MODE_AUTO instead of magic numbers 1
   and 2.
4) Don't check for "mode == -1" because that can't happen.
5) Preserve the error code from toshiba_kbd_illum_status_set().

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Darren Hart &lt;dvhart@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>platform/x86: toshiba: re-enable acpi hotkeys after suspend to disk</title>
<updated>2014-09-02T22:45:36+00:00</updated>
<author>
<name>Benjamin Tissoires</name>
<email>benjamin.tissoires@redhat.com</email>
</author>
<published>2014-09-02T18:04:19+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=e7fdb762b9e1e10c3271e47723b2003330829ddf'/>
<id>urn:sha1:e7fdb762b9e1e10c3271e47723b2003330829ddf</id>
<content type='text'>
On the Toshiba Tecra Z40, after a suspend-to-disk, some FN hotkeys
driven by toshiba_acpi are not functional.

Calling the ACPI object ENAB on resume makes them back alive.

Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
Acked-by: Matthew Garrett &lt;matthew.garrett@nebula.com&gt;
Signed-off-by: Darren Hart &lt;dvhart@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>ideapad-laptop: Constify DMI table for real!</title>
<updated>2014-09-02T22:16:24+00:00</updated>
<author>
<name>Mathias Krause</name>
<email>minipli@googlemail.com</email>
</author>
<published>2014-08-28T11:02:49+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=b3d94d7011cd6dbfd315637e31f5d557116e76d7'/>
<id>urn:sha1:b3d94d7011cd6dbfd315637e31f5d557116e76d7</id>
<content type='text'>
This is a follow-up patch to commit 49458e83082d ("ideapad-laptop:
Constify DMI table and other r/o variables") to do what its commit
message says. The actual commit differs from the patch posted at
https://www.mail-archive.com/platform-driver-x86@vger.kernel.org/msg05340.html
significantly, probably due to a bad merge conflict resolution. Fix up
the mess and constify the DMI table for real and fix the bogus
double-const of ideapad_rfk_data[].

Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Mathias Krause &lt;minipli@googlemail.com&gt;
Cc: Matthew Garrett &lt;matthew.garrett@nebula.com&gt;
Cc: Ike Panhc &lt;ike.pan@canonical.com&gt;
Signed-off-by: Darren Hart &lt;dvhart@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>Revert "ideapad-laptop: Disable touchpad interface on Yoga models"</title>
<updated>2014-08-28T07:57:07+00:00</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2014-08-25T10:00:13+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=3b264d279e72be290f9755c410e2594075f4685c'/>
<id>urn:sha1:3b264d279e72be290f9755c410e2594075f4685c</id>
<content type='text'>
I've received a bug report from a user that the touchpad control part
of the ideapad-laptop ACPI interface does work for him on his
"Lenovo Yoga 2 13", and that this patch causes a regression for him.

Since it did not work for me when I had a "Lenovo Yoga 2 11" in my own
hands (loaned from a friend). It seems that this is a bit of hit and miss.

Since the result of having a false positive here is worse, then the minor
annoyance of a false touchpad disabled messages being shown after suspend /
resume on models (or is it firmware versions?) where the interface does not
work, simply revert the patch.

This reverts commit f79a901331a823ae370584b15cd39dd110b95a0a.

Reported-by: GOESSEL Guillaume &lt;g_goessel@outlook.com&gt;
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: Darren Hart &lt;dvhart@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>Revert "platform/x86/toshiba-apci.c possible bad if test?"</title>
<updated>2014-08-20T15:18:18+00:00</updated>
<author>
<name>Matthew Garrett</name>
<email>matthew.garrett@nebula.com</email>
</author>
<published>2014-08-20T15:18:18+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=8039aabb6c9f802bca04cc77ca210060a5b53916'/>
<id>urn:sha1:8039aabb6c9f802bca04cc77ca210060a5b53916</id>
<content type='text'>
This reverts commit bdc3ae7221213963f438faeaa69c8b4a2195f491.

Signed-off-by: Matthew Garrett &lt;matthew.garrett@nebula.com&gt;
</content>
</entry>
<entry>
<title>platform/x86: Enable build support for toshiba_haps</title>
<updated>2014-08-16T08:23:56+00:00</updated>
<author>
<name>Azael Avalos</name>
<email>coproscefalo@gmail.com</email>
</author>
<published>2014-08-14T15:55:40+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=186e4e89a0922d75fba476f15b723e541cc34bea'/>
<id>urn:sha1:186e4e89a0922d75fba476f15b723e541cc34bea</id>
<content type='text'>
Makefile and Kconfig build support patch for the newly introduced
kernel module toshiba_haps.

Signed-off-by: Azael Avalos &lt;coproscefalo@gmail.com&gt;
Signed-off-by: Matthew Garrett &lt;matthew.garrett@nebula.com&gt;
</content>
</entry>
<entry>
<title>platform/x86: Toshiba HDD Active Protection Sensor</title>
<updated>2014-08-16T08:23:56+00:00</updated>
<author>
<name>Azael Avalos</name>
<email>coproscefalo@gmail.com</email>
</author>
<published>2014-08-14T15:55:38+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=23d0ba0c908ac10139f0351023c64198d7fc1409'/>
<id>urn:sha1:23d0ba0c908ac10139f0351023c64198d7fc1409</id>
<content type='text'>
This driver adds support for the built-in accelereometer found
on recent Toshiba laptops with HID TOS620A.

This driver receives ACPI notify events 0x80 when the sensor
detects a sudden move or a harsh vibration, as well as an
ACPI notify event 0x81 whenever the movement or vibration has
been stabilized.

Also provides sysfs entries to get/set the desired protection
level and reseting the HDD protection interface.

Signed-off-by: Azael Avalos &lt;coproscefalo@gmail.com&gt;
Signed-off-by: Matthew Garrett &lt;matthew.garrett@nebula.com&gt;
</content>
</entry>
<entry>
<title>asus-nb-wmi: Add wapf4 quirk for the U32U</title>
<updated>2014-08-16T08:23:55+00:00</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2014-07-29T09:59:57+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=831a444ea6f8f25fd1a9cc9d7651bc18b5a1f755'/>
<id>urn:sha1:831a444ea6f8f25fd1a9cc9d7651bc18b5a1f755</id>
<content type='text'>
As reported here: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1173681
the U32U needs wapf=4 too.

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: Matthew Garrett &lt;matthew.garrett@nebula.com&gt;
</content>
</entry>
<entry>
<title>alienware-wmi: make hdmi_mux enabled on case-by-case basis</title>
<updated>2014-08-16T08:23:55+00:00</updated>
<author>
<name>Mario Limonciello</name>
<email>mario_limonciello@dell.com</email>
</author>
<published>2014-07-24T04:19:23+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=fee4efd7d1372aa9ac2f6873167f02259cb143ef'/>
<id>urn:sha1:fee4efd7d1372aa9ac2f6873167f02259cb143ef</id>
<content type='text'>
Not all HW supporting WMAX method will support the HDMI mux feature.
Explicitly quirk the HW that does support it.

Signed-off-by: Mario Limonciello &lt;mario_limonciello@dell.com&gt;
Signed-off-by: Matthew Garrett &lt;matthew.garrett@nebula.com&gt;
</content>
</entry>
<entry>
<title>ideapad-laptop: Constify DMI table and other r/o variables</title>
<updated>2014-08-16T08:23:55+00:00</updated>
<author>
<name>Mathias Krause</name>
<email>minipli@googlemail.com</email>
</author>
<published>2014-07-16T17:43:15+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=49458e83082d6c68c6b7b8905789dc4f35eca422'/>
<id>urn:sha1:49458e83082d6c68c6b7b8905789dc4f35eca422</id>
<content type='text'>
Constify the rfkill_blacklist[] DMI table, the ideapad_rfk_data[] table
and the ideapad_attribute_group attribute group. There's no need to have
them writeable during runtime.

Signed-off-by: Mathias Krause &lt;minipli@googlemail.com&gt;
Cc: Ike Panhc &lt;ike.pan@canonical.com&gt;
Signed-off-by: Matthew Garrett &lt;matthew.garrett@nebula.com&gt;
</content>
</entry>
</feed>
