<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/platform, branch v3.16</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/platform?h=v3.16</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/platform?h=v3.16'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2014-06-10T23:58:32Z</updated>
<entry>
<title>Merge branch 'for_linus' of git://cavan.codon.org.uk/platform-drivers-x86</title>
<updated>2014-06-10T23:58:32Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2014-06-10T23:58:32Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=2937f5efa5754754daf46de745f67350f7f06ec2'/>
<id>urn:sha1:2937f5efa5754754daf46de745f67350f7f06ec2</id>
<content type='text'>
Pull x86 platform driver updates from Matthew Garrett:
 "Very little of excitement here - the most significant is a new driver
  for detecting device freefall on Dells, other than that it's pretty
  much entirely minor fixes for specific machines"

* 'for_linus' of git://cavan.codon.org.uk/platform-drivers-x86:
  hp-wmi: Enable hotkeys on some systems
  thinkpad_acpi: Add mappings for F9 - F12 hotkeys on X240 / T440 / T540
  platform: x86: dell-smo8800: Dell Latitude freefall driver (ACPI SMO8800/SMO8810)
  ideapad_laptop: Introduce the use of the managed version of kzalloc
  platform/x86: Fix run-time dependencies of OLPC drivers
  platform: x86: asus-wmi.c: Cleaning up uninitialized variables
  ix86/mid/thermal: Introduce the use of the managed version of kzalloc
  platform x86 Kconfig: Refer to the laptop list in the Compal driver help
  Documentation: Add list of laptop models supported by the Compal driver
  ideapad-laptop: Blacklist rfkill control on the Lenovo Yoga 2 11
  asus-wmi: Set WAPF to 4 for Asus X550CA
  alienware-wmi: For WMAX HDMI method, introduce a way to query HDMI cable status
  alienware-wmi: Update WMAX brightness method limit to 15
  pvpanic: Set high notifier priority
  platform/x86: samsung-laptop: Add support for Samsung's NP7[34]0U3E models.
  toshiba_acpi: Add alternative keymap support for Satellite M840
  platform-drivers-x86: intel_pmic_gpio: Fix off-by-one valid offset range check
</content>
</entry>
<entry>
<title>hp-wmi: Enable hotkeys on some systems</title>
<updated>2014-06-10T23:11:11Z</updated>
<author>
<name>Kyle Evans</name>
<email>kvans32@gmail.com</email>
</author>
<published>2014-06-09T17:26:06Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f82bdd0d77b6bf0dea08a1d957ab45d503f328b1'/>
<id>urn:sha1:f82bdd0d77b6bf0dea08a1d957ab45d503f328b1</id>
<content type='text'>
This is a third attempt to enable these buttons. The new variable being
commit 997daa1bd9aca412ab97955a35b26c460c0ec7a4 (i.e. hp-wmi: detect
"2009 BIOS or later"). Older systems that do not have the 2009 BIOS query
method respond with a dummy value, in this case 4. Using that, we can
target a fairly narrow group of systems. i.e. old enough to not have
HPWMI_FEATURE_QUERY 0xd, but new enough to have HPWMI_BIOS_QUERY 0x9.
This group may be further limited if some systems respond with something
other than 4 to non-existant feature queries.

Signed-off-by: Kyle Evans &lt;kvans32@gmail.com&gt;
Signed-off-by: Matthew Garrett &lt;matthew.garrett@nebula.com&gt;
</content>
</entry>
<entry>
<title>thinkpad_acpi: Add mappings for F9 - F12 hotkeys on X240 / T440 / T540</title>
<updated>2014-06-10T23:11:10Z</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2014-04-09T09:46:46Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8b9dd4fab26a0f328420cbda0845a325f45bcd92'/>
<id>urn:sha1:8b9dd4fab26a0f328420cbda0845a325f45bcd92</id>
<content type='text'>
The T440s user guide says that when Fn-lock is not active, the *40s' F9 - F12
keys should be mapped to: control-panel, search, show-all-windows and Computer.

These keys generate the sofar unused 28 - 31 hotkey scancodes.

For the first 2 this nicely matches the icons on the keys, for the latter 2
the icons are somewhat creative, which is why I ended up looking them up in
the user manual.

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>platform: x86: dell-smo8800: Dell Latitude freefall driver (ACPI SMO8800/SMO8810)</title>
<updated>2014-06-10T23:11:10Z</updated>
<author>
<name>Pali Rohár</name>
<email>pali.rohar@gmail.com</email>
</author>
<published>2014-05-22T11:15:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4738d8aabe89d237f30a28c65f61391a1435e3a7'/>
<id>urn:sha1:4738d8aabe89d237f30a28c65f61391a1435e3a7</id>
<content type='text'>
This acpi driver provide supports for freefall sensors SMO8800/SMO8810 which
can be found on Dell Latitude laptops. Driver register /dev/freefall misc
device which has same interface as driver hp_accel freefall driver. So any
existing applications for HP freefall sensor /dev/freefall will work for with
this new driver for Dell Latitude laptops too.

Signed-off-by: Pali Rohár &lt;pali.rohar@gmail.com&gt;
Cc: Sonal Santan &lt;sonal.santan@gmail.com&gt;
Tested-By: Valdis Kletnieks &lt;valdis.kletnieks@vt.edu&gt;
Acked-By: Valdis Kletnieks &lt;valdis.kletnieks@vt.edu&gt;
Signed-off-by: Matthew Garrett &lt;matthew.garrett@nebula.com&gt;
</content>
</entry>
<entry>
<title>ideapad_laptop: Introduce the use of the managed version of kzalloc</title>
<updated>2014-06-10T23:11:09Z</updated>
<author>
<name>Himangi Saraogi</name>
<email>himangi774@gmail.com</email>
</author>
<published>2014-06-09T21:46:50Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=b3facd7ba822ede3e98108e17a75f2c9c3e463af'/>
<id>urn:sha1:b3facd7ba822ede3e98108e17a75f2c9c3e463af</id>
<content type='text'>
This patch moves data allocated using kzalloc to managed data allocated
using devm_kzalloc and cleans now unnecessary kfrees in probe and remove
functions. The label sysfs_failed is removed as it is no longer
required.  Also, linux/device.h is added to make sure the devm_*()
routine declarations are unambiguously available.

The following Coccinelle semantic patch was used for making the change:

@platform@
identifier p, probefn, removefn;
@@
struct platform_driver p = {
  .probe = probefn,
  .remove = removefn,
};

@prb@
identifier platform.probefn, pdev;
expression e, e1, e2;
@@
probefn(struct platform_device *pdev, ...) {
  &lt;+...
- e = kzalloc(e1, e2)
+ e = devm_kzalloc(&amp;pdev-&gt;dev, e1, e2)
  ...
?-kfree(e);
  ...+&gt;
}

@rem depends on prb@
identifier platform.removefn;
expression e;
@@
removefn(...) {
  &lt;...
- kfree(e);
  ...&gt;
}

Signed-off-by: Himangi Saraogi &lt;himangi774@gmail.com&gt;
Acked-by: Julia Lawall &lt;julia.lawall@lip6.fr&gt;
Signed-off-by: Matthew Garrett &lt;matthew.garrett@nebula.com&gt;
</content>
</entry>
<entry>
<title>platform/x86: Fix run-time dependencies of OLPC drivers</title>
<updated>2014-06-10T23:11:09Z</updated>
<author>
<name>Jean Delvare</name>
<email>jdelvare@suse.de</email>
</author>
<published>2014-06-01T20:02:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=b02fdfcc40d74e64d3ea2a2120c96979e1b33128'/>
<id>urn:sha1:b02fdfcc40d74e64d3ea2a2120c96979e1b33128</id>
<content type='text'>
Let the xo15-ebook driver depend on OLPC as all other OLPC drivers
already do. Add COMPILE_TEST as an alternative for both xo1-rfkill
and xo15-ebook, to increase the build testing coverage.

Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
Cc: Matthew Garrett &lt;matthew.garrett@nebula.com&gt;
Signed-off-by: Matthew Garrett &lt;matthew.garrett@nebula.com&gt;
</content>
</entry>
<entry>
<title>platform: x86: asus-wmi.c: Cleaning up uninitialized variables</title>
<updated>2014-06-10T23:11:08Z</updated>
<author>
<name>Rickard Strandqvist</name>
<email>rickard_strandqvist@spectrumdigital.se</email>
</author>
<published>2014-06-01T12:58:52Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8ad3be1eacbe252b93f5a0478413774308f3dbfb'/>
<id>urn:sha1:8ad3be1eacbe252b93f5a0478413774308f3dbfb</id>
<content type='text'>
There is a risk that the variable will be used without being initialized.

This was largely found by using a static code analysis program called cppcheck.

Signed-off-by: Rickard Strandqvist &lt;rickard_strandqvist@spectrumdigital.se&gt;
Signed-off-by: Matthew Garrett &lt;matthew.garrett@nebula.com&gt;
</content>
</entry>
<entry>
<title>ix86/mid/thermal: Introduce the use of the managed version of kzalloc</title>
<updated>2014-06-10T23:11:07Z</updated>
<author>
<name>Himangi Saraogi</name>
<email>himangi774@gmail.com</email>
</author>
<published>2014-05-25T07:35:45Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=14627e36121c90b9a794ab0ea3195efa4c23373e'/>
<id>urn:sha1:14627e36121c90b9a794ab0ea3195efa4c23373e</id>
<content type='text'>
This patch moves data allocated using kzalloc to managed data allocated
using devm_kzalloc and cleans now unnecessary kfrees in probe and remove
functions.

The following Coccinelle semantic patch was used for making the change:

@platform@
identifier p, probefn, removefn;
@@
struct platform_driver p = {
  .probe = probefn,
  .remove = removefn,
};

@prb@
identifier platform.probefn, pdev;
expression e, e1, e2;
@@
probefn(struct platform_device *pdev, ...) {
  &lt;+...
- e = kzalloc(e1, e2)
+ e = devm_kzalloc(&amp;pdev-&gt;dev, e1, e2)
  ...
?-kfree(e);
  ...+&gt;
}

@rem depends on prb@
identifier platform.removefn;
expression e;
@@
removefn(...) {
  &lt;...
- kfree(e);
  ...&gt;
}

Signed-off-by: Himangi Saraogi &lt;himangi774@gmail.com&gt;
Signed-off-by: Matthew Garrett &lt;matthew.garrett@nebula.com&gt;
</content>
</entry>
<entry>
<title>platform x86 Kconfig: Refer to the laptop list in the Compal driver help</title>
<updated>2014-06-10T23:11:07Z</updated>
<author>
<name>Ismael Luceno</name>
<email>ismael.luceno@gmail.com</email>
</author>
<published>2014-05-21T20:24:28Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=eec3b959f57508b250831ed10efa07f8209e9d1b'/>
<id>urn:sha1:eec3b959f57508b250831ed10efa07f8209e9d1b</id>
<content type='text'>
Signed-off-by: Ismael Luceno &lt;ismael.luceno@gmail.com&gt;
Signed-off-by: Matthew Garrett &lt;matthew.garrett@nebula.com&gt;
</content>
</entry>
<entry>
<title>ideapad-laptop: Blacklist rfkill control on the Lenovo Yoga 2 11</title>
<updated>2014-06-10T23:11:06Z</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2014-05-13T14:00:28Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=85093f79f586176f8bbf90e56e22a3dfa526e334'/>
<id>urn:sha1:85093f79f586176f8bbf90e56e22a3dfa526e334</id>
<content type='text'>
The Lenovo Yoga 2 11 always reports everything as blocked, causing userspace
to not even try to use the wlan / bluetooth even though they work fine.

Note this patch also removes the "else priv-&gt;rfk[i] = NULL;" bit of the
rfkill initialization, it is not necessary as the priv struct is allocated
with kzalloc.

Reported-and-tested-by: Vincent Gerris &lt;vgerris@gmail.com&gt;
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: Matthew Garrett &lt;matthew.garrett@nebula.com&gt;
</content>
</entry>
</feed>
