<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/platform, branch v3.10.78</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>hp_accel: Add support for HP ZBook 15</title>
<updated>2015-01-27T15:52:31+00:00</updated>
<author>
<name>Dominique Leuenberger</name>
<email>dimstar@opensuse.org</email>
</author>
<published>2014-11-13T19:57:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=322236a4f2da2da95a0f1ab75b006d540cfe3f9c'/>
<id>322236a4f2da2da95a0f1ab75b006d540cfe3f9c</id>
<content type='text'>
commit 6583659e0f92e38079a8dd081e0a1181a0f37747 upstream.

HP ZBook 15 laptop needs a non-standard mapping (x_inverted).

BugLink: http://bugzilla.opensuse.org/show_bug.cgi?id=905329
Signed-off-by: Dominique Leuenberger &lt;dimstar@opensuse.org&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Darren Hart &lt;dvhart@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 6583659e0f92e38079a8dd081e0a1181a0f37747 upstream.

HP ZBook 15 laptop needs a non-standard mapping (x_inverted).

BugLink: http://bugzilla.opensuse.org/show_bug.cgi?id=905329
Signed-off-by: Dominique Leuenberger &lt;dimstar@opensuse.org&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Darren Hart &lt;dvhart@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>dell-wmi: Fix access out of memory</title>
<updated>2014-11-21T17:22:55+00:00</updated>
<author>
<name>Pali Rohár</name>
<email>pali.rohar@gmail.com</email>
</author>
<published>2014-09-29T13:10:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=2a7978ef959430e21d93a6ab59284a11bc2c9bb6'/>
<id>2a7978ef959430e21d93a6ab59284a11bc2c9bb6</id>
<content type='text'>
commit a666b6ffbc9b6705a3ced704f52c3fe9ea8bf959 upstream.

Without this patch, dell-wmi is trying to access elements of dynamically
allocated array without checking the array size. This can lead to memory
corruption or a kernel panic. This patch adds the missing checks for
array size.

Signed-off-by: Pali Rohár &lt;pali.rohar@gmail.com&gt;
Signed-off-by: Darren Hart &lt;dvhart@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit a666b6ffbc9b6705a3ced704f52c3fe9ea8bf959 upstream.

Without this patch, dell-wmi is trying to access elements of dynamically
allocated array without checking the array size. This can lead to memory
corruption or a kernel panic. This patch adds the missing checks for
array size.

Signed-off-by: Pali Rohár &lt;pali.rohar@gmail.com&gt;
Signed-off-by: Darren Hart &lt;dvhart@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>acer-wmi: Add acpi_backlight=video quirk for the Acer KAV80</title>
<updated>2014-11-14T16:48:01+00:00</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2014-10-22T14:06:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=018fd7f83f65eed43a6c655686e05c95bab03637'/>
<id>018fd7f83f65eed43a6c655686e05c95bab03637</id>
<content type='text'>
commit 183fd8fcd7f8afb7ac5ec68f83194872f9fecc84 upstream.

The acpi-video backlight interface on the Acer KAV80 is broken, and worse
it causes the entire machine to slow down significantly after a suspend/resume.

Blacklist it, and use the acer-wmi backlight interface instead. Note that
the KAV80 is somewhat unique in that it is the only Acer model where we
fall back to acer-wmi after blacklisting, rather then using the native
(e.g. intel) backlight driver. This is done because there is no native
backlight interface on this model.

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1128309
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: Darren Hart &lt;dvhart@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 183fd8fcd7f8afb7ac5ec68f83194872f9fecc84 upstream.

The acpi-video backlight interface on the Acer KAV80 is broken, and worse
it causes the entire machine to slow down significantly after a suspend/resume.

Blacklist it, and use the acer-wmi backlight interface instead. Note that
the KAV80 is somewhat unique in that it is the only Acer model where we
fall back to acer-wmi after blacklisting, rather then using the native
(e.g. intel) backlight driver. This is done because there is no native
backlight interface on this model.

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1128309
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: Darren Hart &lt;dvhart@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>hp_accel: Add a new PnP ID HPQ6007 for new HP laptops</title>
<updated>2014-02-06T19:08:16+00:00</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2014-01-13T11:32:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=759ebfb44b87339bb43c2674b7ab9816ffc37b7a'/>
<id>759ebfb44b87339bb43c2674b7ab9816ffc37b7a</id>
<content type='text'>
commit b0ad4ff35d479a46a3b995a299db9aeb097acfce upstream.

The DriveGuard chips on the new HP laptops are with a new PnP ID
"HPQ6007".  It should be compatible with older chips.

Acked-by: Éric Piel &lt;eric.piel@tremplin-utc.net&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Matthew Garrett &lt;matthew.garrett@nebula.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit b0ad4ff35d479a46a3b995a299db9aeb097acfce upstream.

The DriveGuard chips on the new HP laptops are with a new PnP ID
"HPQ6007".  It should be compatible with older chips.

Acked-by: Éric Piel &lt;eric.piel@tremplin-utc.net&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Matthew Garrett &lt;matthew.garrett@nebula.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>drivers/platform/olpc/olpc-ec.c: initialise earlier</title>
<updated>2013-08-29T16:47:38+00:00</updated>
<author>
<name>Daniel Drake</name>
<email>dsd@laptop.org</email>
</author>
<published>2013-08-22T23:35:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=6797361e99b0103055b26c0a3d1079bf2402a3a0'/>
<id>6797361e99b0103055b26c0a3d1079bf2402a3a0</id>
<content type='text'>
commit 93dbc1b3b506e16c1f6d5b5dcfe756a85cb1dc58 upstream.

Being a low-level component, various drivers (e.g.  olpc-battery) assume
that it is ok to communicate with the OLPC Embedded Controller during
probe.  Therefore the OLPC EC driver must be initialised before other
drivers try to use it.  This was the case until it was recently moved
out of arch/x86 and restructured around commits ac2504151f5a ("Platform:
OLPC: turn EC driver into a platform_driver") and 85f90cf6ca56 ("x86:
OLPC: switch over to using new EC driver on x86").

Use arch_initcall so that olpc-ec is readied earlier, matching the
previous behaviour.

Fixes a regression introduced in Linux-3.6 where various drivers such as
olpc-battery and olpc-xo1-sci failed to load due to an inability to
communicate with the EC.  The user-visible effect was a lack of battery
monitoring, missing ebook/lid switch input devices, etc.

Signed-off-by: Daniel Drake &lt;dsd@laptop.org&gt;
Cc: Andres Salomon &lt;dilinger@queued.net&gt;
Cc: Paul Fox &lt;pgf@laptop.org&gt;
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 93dbc1b3b506e16c1f6d5b5dcfe756a85cb1dc58 upstream.

Being a low-level component, various drivers (e.g.  olpc-battery) assume
that it is ok to communicate with the OLPC Embedded Controller during
probe.  Therefore the OLPC EC driver must be initialised before other
drivers try to use it.  This was the case until it was recently moved
out of arch/x86 and restructured around commits ac2504151f5a ("Platform:
OLPC: turn EC driver into a platform_driver") and 85f90cf6ca56 ("x86:
OLPC: switch over to using new EC driver on x86").

Use arch_initcall so that olpc-ec is readied earlier, matching the
previous behaviour.

Fixes a regression introduced in Linux-3.6 where various drivers such as
olpc-battery and olpc-xo1-sci failed to load due to an inability to
communicate with the EC.  The user-visible effect was a lack of battery
monitoring, missing ebook/lid switch input devices, etc.

Signed-off-by: Daniel Drake &lt;dsd@laptop.org&gt;
Cc: Andres Salomon &lt;dilinger@queued.net&gt;
Cc: Paul Fox &lt;pgf@laptop.org&gt;
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>x86 / platform / hp_wmi: Fix bluetooth_rfkill misuse in hp_wmi_rfkill_setup()</title>
<updated>2013-06-01T21:51:48+00:00</updated>
<author>
<name>lan,Tianyu</name>
<email>tianyu.lan@intel.com</email>
</author>
<published>2013-05-28T02:25:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=af1d486c18bad7820b0ca52b413458914231102c'/>
<id>af1d486c18bad7820b0ca52b413458914231102c</id>
<content type='text'>
HP wmi platform driver fails to initialize GPS and causes poweroff
failure in HP Elitebook 6930p.

Call Trace:
 [&lt;ffffffffa088d25a&gt;] hp_wmi_bios_setup+0x25a/0x3a0 [hp_wmi]
 [&lt;ffffffff8135978c&gt;] platform_drv_probe+0x3c/0x70
 [&lt;ffffffff81356d6a&gt;] ? driver_sysfs_add+0x7a/0xb0
 [&lt;ffffffff81357407&gt;] driver_probe_device+0x87/0x3a0
 [&lt;ffffffff813577f3&gt;] __driver_attach+0x93/0xa0
 [&lt;ffffffff81357760&gt;] ? __device_attach+0x40/0x40
 [&lt;ffffffff81355403&gt;] bus_for_each_dev+0x63/0xa0
 [&lt;ffffffff81356e8e&gt;] driver_attach+0x1e/0x20
 [&lt;ffffffff81356a28&gt;] bus_add_driver+0x1f8/0x2b0
 [&lt;ffffffff81357e81&gt;] driver_register+0x71/0x150
 [&lt;ffffffff813594e6&gt;] platform_driver_register+0x46/0x50
 [&lt;ffffffff813595ab&gt;] platform_driver_probe+0x1b/0xa0
 [&lt;ffffffffa088d55e&gt;] hp_wmi_init+0x1be/0x1fb [hp_wmi]
 [&lt;ffffffffa088d3a0&gt;] ? hp_wmi_bios_setup+0x3a0/0x3a0 [hp_wmi]
 [&lt;ffffffff8100210a&gt;] do_one_initcall+0x10a/0x160
 [&lt;ffffffff810bdac6&gt;] load_module+0x1b46/0x2640
 [&lt;ffffffff8128da20&gt;] ? ddebug_proc_write+0xf0/0xf0
 [&lt;ffffffff810be662&gt;] sys_init_module+0xa2/0xf0
 [&lt;ffffffff814d975d&gt;] system_call_fastpath+0x1a/0x1f
Code: 48 ff ff ff 80 7b 24 00 74 d2 41 83 e5 01 45 38 ec 74 c9 48 8d bb a0 03 00 00 e8 ed fb aa e0 5b 41 5c 41 5d 44 89 f0 41 5e 5d c3 &lt;0f&gt; 0b 66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 66 66 66 66
RIP  [&lt;ffffffffa05c57af&gt;] rfkill_set_hw_state+0x9f/0xb0 [rfkill]
 RSP &lt;ffff880071523b60&gt;

Check code and find this error is caused by misusing variable bluetooth_rfkill
where gps_rfkill should be.

Reported-and-tested-by: Iru Cai &lt;mytbk920423@gmail.com&gt;
References: https://bugzilla.kernel.org/show_bug.cgi?id=58401
Cc: All &lt;stable@vger.kernel.org&gt;
Signed-off-by: Lan Tianyu &lt;tianyu.lan@intel.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
HP wmi platform driver fails to initialize GPS and causes poweroff
failure in HP Elitebook 6930p.

Call Trace:
 [&lt;ffffffffa088d25a&gt;] hp_wmi_bios_setup+0x25a/0x3a0 [hp_wmi]
 [&lt;ffffffff8135978c&gt;] platform_drv_probe+0x3c/0x70
 [&lt;ffffffff81356d6a&gt;] ? driver_sysfs_add+0x7a/0xb0
 [&lt;ffffffff81357407&gt;] driver_probe_device+0x87/0x3a0
 [&lt;ffffffff813577f3&gt;] __driver_attach+0x93/0xa0
 [&lt;ffffffff81357760&gt;] ? __device_attach+0x40/0x40
 [&lt;ffffffff81355403&gt;] bus_for_each_dev+0x63/0xa0
 [&lt;ffffffff81356e8e&gt;] driver_attach+0x1e/0x20
 [&lt;ffffffff81356a28&gt;] bus_add_driver+0x1f8/0x2b0
 [&lt;ffffffff81357e81&gt;] driver_register+0x71/0x150
 [&lt;ffffffff813594e6&gt;] platform_driver_register+0x46/0x50
 [&lt;ffffffff813595ab&gt;] platform_driver_probe+0x1b/0xa0
 [&lt;ffffffffa088d55e&gt;] hp_wmi_init+0x1be/0x1fb [hp_wmi]
 [&lt;ffffffffa088d3a0&gt;] ? hp_wmi_bios_setup+0x3a0/0x3a0 [hp_wmi]
 [&lt;ffffffff8100210a&gt;] do_one_initcall+0x10a/0x160
 [&lt;ffffffff810bdac6&gt;] load_module+0x1b46/0x2640
 [&lt;ffffffff8128da20&gt;] ? ddebug_proc_write+0xf0/0xf0
 [&lt;ffffffff810be662&gt;] sys_init_module+0xa2/0xf0
 [&lt;ffffffff814d975d&gt;] system_call_fastpath+0x1a/0x1f
Code: 48 ff ff ff 80 7b 24 00 74 d2 41 83 e5 01 45 38 ec 74 c9 48 8d bb a0 03 00 00 e8 ed fb aa e0 5b 41 5c 41 5d 44 89 f0 41 5e 5d c3 &lt;0f&gt; 0b 66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 66 66 66 66
RIP  [&lt;ffffffffa05c57af&gt;] rfkill_set_hw_state+0x9f/0xb0 [rfkill]
 RSP &lt;ffff880071523b60&gt;

Check code and find this error is caused by misusing variable bluetooth_rfkill
where gps_rfkill should be.

Reported-and-tested-by: Iru Cai &lt;mytbk920423@gmail.com&gt;
References: https://bugzilla.kernel.org/show_bug.cgi?id=58401
Cc: All &lt;stable@vger.kernel.org&gt;
Signed-off-by: Lan Tianyu &lt;tianyu.lan@intel.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for fan button on Ideapad Z580</title>
<updated>2013-05-09T00:00:50+00:00</updated>
<author>
<name>Maxim Mikityanskiy</name>
<email>maxtram95@gmail.com</email>
</author>
<published>2013-03-20T10:34:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a1ec56ed9f42fb5374cd2add373811c9527c0995'/>
<id>a1ec56ed9f42fb5374cd2add373811c9527c0995</id>
<content type='text'>
The patch adds support for fan control button on Ideapad Z580. This is
the same button as on Z570, but it raises different bit in
VPCCMD_R_SPECIAL_BUTTONS. Also add message to dmesg when unknown button
press detected, it will help adding support for new special buttons.

Signed-off-by: Maxim Mikityanskiy &lt;maxtram95@gmail.com&gt;
Tested-by: Ivan Vojtko &lt;nekroman.sk@gmail.com&gt;
Signed-off-by: Matthew Garrett &lt;matthew.garrett@nebula.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The patch adds support for fan control button on Ideapad Z580. This is
the same button as on Z570, but it raises different bit in
VPCCMD_R_SPECIAL_BUTTONS. Also add message to dmesg when unknown button
press detected, it will help adding support for new special buttons.

Signed-off-by: Maxim Mikityanskiy &lt;maxtram95@gmail.com&gt;
Tested-by: Ivan Vojtko &lt;nekroman.sk@gmail.com&gt;
Signed-off-by: Matthew Garrett &lt;matthew.garrett@nebula.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pvpanic: pvpanic device driver</title>
<updated>2013-05-08T23:59:52+00:00</updated>
<author>
<name>Hu Tao</name>
<email>hutao@cn.fujitsu.com</email>
</author>
<published>2013-05-08T03:15:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=8b10acd74cdad9063c7a63468e31759d9ac877d9'/>
<id>8b10acd74cdad9063c7a63468e31759d9ac877d9</id>
<content type='text'>
pvpanic device is a qemu simulated device through which guest panic
event is sent to host.

Signed-off-by: Hu Tao &lt;hutao@cn.fujitsu.com&gt;
Signed-off-by: Matthew Garrett &lt;matthew.garrett@nebula.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pvpanic device is a qemu simulated device through which guest panic
event is sent to host.

Signed-off-by: Hu Tao &lt;hutao@cn.fujitsu.com&gt;
Signed-off-by: Matthew Garrett &lt;matthew.garrett@nebula.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>asus-nb-wmi: set wapf=4 for ASUSTeK COMPUTER INC. X75A</title>
<updated>2013-05-08T23:59:52+00:00</updated>
<author>
<name>AceLan Kao</name>
<email>acelan.kao@canonical.com</email>
</author>
<published>2013-04-25T07:11:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a849e0024a84480c7be85e3b723610e14042751b'/>
<id>a849e0024a84480c7be85e3b723610e14042751b</id>
<content type='text'>
BugLink: http://bugs.launchpad.net/bugs/1172151

Need to set wapf to 4 for ASUSTeK COMPUTER INC. X75A, so that
user can toggle wifi function through function key correctly.

Signed-off-by: AceLan Kao &lt;acelan.kao@canonical.com&gt;
Signed-off-by: Matthew Garrett &lt;matthew.garrett@nebula.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BugLink: http://bugs.launchpad.net/bugs/1172151

Need to set wapf to 4 for ASUSTeK COMPUTER INC. X75A, so that
user can toggle wifi function through function key correctly.

Signed-off-by: AceLan Kao &lt;acelan.kao@canonical.com&gt;
Signed-off-by: Matthew Garrett &lt;matthew.garrett@nebula.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers: platform: x86: Use PTR_RET function</title>
<updated>2013-05-08T23:59:44+00:00</updated>
<author>
<name>Alexandru Gheorghiu</name>
<email>gheorghiuandru@gmail.com</email>
</author>
<published>2013-03-19T01:01:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=2fbaf9b24a953ea13350f9cd9be5609492ea20a7'/>
<id>2fbaf9b24a953ea13350f9cd9be5609492ea20a7</id>
<content type='text'>
Used PTR_RET function instead of IS_ERR and PTR_ERR.
Patch found using coccinelle.

Signed-off-by: Alexandru Gheorghiu &lt;gheorghiuandru@gmail.com&gt;
Signed-off-by: Matthew Garrett &lt;matthew.garrett@nebula.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Used PTR_RET function instead of IS_ERR and PTR_ERR.
Patch found using coccinelle.

Signed-off-by: Alexandru Gheorghiu &lt;gheorghiuandru@gmail.com&gt;
Signed-off-by: Matthew Garrett &lt;matthew.garrett@nebula.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
