<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/platform/x86/hp-wmi.c, branch v2.6.39-rc2</title>
<subtitle>Linux Kernel (branches are rebased on master from time to time)</subtitle>
<id>https://sre.ring0.de/linux/atom?h=v2.6.39-rc2</id>
<link rel='self' href='https://sre.ring0.de/linux/atom?h=v2.6.39-rc2'/>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/'/>
<updated>2011-03-28T10:07:19Z</updated>
<entry>
<title>hp-wmi: add rfkill support for wireless query 0x1b</title>
<updated>2011-03-28T10:07:19Z</updated>
<author>
<name>Anssi Hannula</name>
<email>anssi.hannula@iki.fi</email>
</author>
<published>2011-02-20T18:07:26Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=c0b9c6494498014f28dbec37fe327bf016a91356'/>
<id>urn:sha1:c0b9c6494498014f28dbec37fe327bf016a91356</id>
<content type='text'>
Some recent HP laptops use a new wireless query command type 0x1b.

Add support for it. Tested on HP Mini 5102.

Signed-off-by: Anssi Hannula &lt;anssi.hannula@iki.fi&gt;
Signed-off-by: Matthew Garrett &lt;mjg@redhat.com&gt;
</content>
</entry>
<entry>
<title>hp-wmi: make rfkill initialization failure non-fatal</title>
<updated>2011-03-28T10:07:19Z</updated>
<author>
<name>Anssi Hannula</name>
<email>anssi.hannula@iki.fi</email>
</author>
<published>2011-02-20T18:07:25Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=7cd635da42fda9272fd200121e565d116c0c65c9'/>
<id>urn:sha1:7cd635da42fda9272fd200121e565d116c0c65c9</id>
<content type='text'>
hp_wmi_rfkill_setup cleans up after itself now, so failing completely is
no longer necessary.

Signed-off-by: Anssi Hannula &lt;anssi.hannula@iki.fi&gt;
Signed-off-by: Matthew Garrett &lt;mjg@redhat.com&gt;
</content>
</entry>
<entry>
<title>hp-wmi: clear rfkill device pointers when appropriate</title>
<updated>2011-03-28T10:07:18Z</updated>
<author>
<name>Anssi Hannula</name>
<email>anssi.hannula@iki.fi</email>
</author>
<published>2011-02-20T18:07:24Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=6d97db590ca2787c202cf35e76f5d24b3007bc7c'/>
<id>urn:sha1:6d97db590ca2787c202cf35e76f5d24b3007bc7c</id>
<content type='text'>
NULLify rfkill pointers during initialization. This prevents dereference
of invalid pointer in case the driver is rebound and some rfkill device
isn't detected anymore. Clear them also in hp_wmi_rfkill_setup failure
path so that an rfkill initialization failure doesn't need to be fatal
for the whole driver.

Signed-off-by: Anssi Hannula &lt;anssi.hannula@iki.fi&gt;
Signed-off-by: Matthew Garrett &lt;mjg@redhat.com&gt;
</content>
</entry>
<entry>
<title>hp-wmi: split rfkill initialization out of hp_wmi_bios_setup</title>
<updated>2011-03-28T10:07:18Z</updated>
<author>
<name>Anssi Hannula</name>
<email>anssi.hannula@iki.fi</email>
</author>
<published>2011-02-20T18:07:23Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=eceb7bdf644b418175aab1c998137e692ac98a4c'/>
<id>urn:sha1:eceb7bdf644b418175aab1c998137e692ac98a4c</id>
<content type='text'>
Split initialization of rfkill devices from hp_wmi_bios_setup() to
hp_wmi_rfkill_setup(). This makes the code somewhat cleaner, especially
with the future command 0x1b rfkill support.

Signed-off-by: Anssi Hannula &lt;anssi.hannula@iki.fi&gt;
Signed-off-by: Matthew Garrett &lt;mjg@redhat.com&gt;
</content>
</entry>
<entry>
<title>hp-wmi: allow setting input and output buffer sizes separately</title>
<updated>2011-03-28T10:07:18Z</updated>
<author>
<name>Anssi Hannula</name>
<email>anssi.hannula@iki.fi</email>
</author>
<published>2011-02-20T18:07:22Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d'/>
<id>urn:sha1:c3021ea1beeeb1aa8a92fa6946a6e25fc55f171d</id>
<content type='text'>
Split buffersize parameter of hp_wmi_perform_query to insize and
outsize. Existing callers are changed to use the same value for insize
and outsize to avoid any regressions, with the exception of
hp_wmi_set_block where the output buffer is unused and therefore outsize
is set to 0 (this change is not seen by BIOS code).

The maximum input buffer size is kept at 4 bytes as per struct
bios_args. Some commands exist that take longer buffers, but they
haven't been implemented. The data portion of bios_args can be trivially
made dynamically allocated later when such larger buffers become needed.

Signed-off-by: Anssi Hannula &lt;anssi.hannula@iki.fi&gt;
Signed-off-by: Matthew Garrett &lt;mjg@redhat.com&gt;
</content>
</entry>
<entry>
<title>hp-wmi: remove a variable that is never read</title>
<updated>2011-03-28T10:07:18Z</updated>
<author>
<name>Anssi Hannula</name>
<email>anssi.hannula@iki.fi</email>
</author>
<published>2011-02-20T18:07:21Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=25bb067a08c5db70cd8bcf9e160ac81718ea075c'/>
<id>urn:sha1:25bb067a08c5db70cd8bcf9e160ac81718ea075c</id>
<content type='text'>
Remove the status variable from hp_wmi_perform_query which holds the
return value from wmi_evaluate_method(). It is never checked as the
function bails out if the output buffer hasn't been allocated which
indicates the call failed.

Signed-off-by: Anssi Hannula &lt;anssi.hannula@iki.fi&gt;
Signed-off-by: Matthew Garrett &lt;mjg@redhat.com&gt;
</content>
</entry>
<entry>
<title>hp-wmi: check query return value in hp_wmi_perform_query</title>
<updated>2011-03-28T10:07:17Z</updated>
<author>
<name>Anssi Hannula</name>
<email>anssi.hannula@iki.fi</email>
</author>
<published>2011-02-20T18:07:20Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=9af0e0fb70ed8e2387323c19496a7e174363f7b6'/>
<id>urn:sha1:9af0e0fb70ed8e2387323c19496a7e174363f7b6</id>
<content type='text'>
Check BIOS provided return value code in hp_wmi_perform_query and print
a warning on error. Printing is suppressed for HPWMI_RET_UNKNOWN_CMDTYPE
which is returned when the command type is unsupported.

Signed-off-by: Anssi Hannula &lt;anssi.hannula@iki.fi&gt;
Signed-off-by: Matthew Garrett &lt;mjg@redhat.com&gt;
</content>
</entry>
<entry>
<title>ACPI, hp-wmi: Fix memory leak in acpi query</title>
<updated>2010-11-24T17:07:10Z</updated>
<author>
<name>Zeng Zhaoming</name>
<email>zengzm.kernel@gmail.com</email>
</author>
<published>2010-11-18T16:46:19Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=53c96dfdd0c0ccbba7aee84c60ce0f2aa466413f'/>
<id>urn:sha1:53c96dfdd0c0ccbba7aee84c60ce0f2aa466413f</id>
<content type='text'>
Free acpi return memory after query.

Signed-off-by: Zeng Zhaoming &lt;zengzm.kernel@gmail.com&gt;
Signed-off-by: Matthew Garrett &lt;mjg@redhat.com&gt;
</content>
</entry>
<entry>
<title>Input: hp-wmi - switch to using sparse keymap library</title>
<updated>2010-10-21T13:36:43Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2010-08-05T05:30:13Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=4d291ed7217d617dacbf54b4bd35819b0d08b981'/>
<id>urn:sha1:4d291ed7217d617dacbf54b4bd35819b0d08b981</id>
<content type='text'>
Instead of implementing its own version of keymap hanlding switch over
to using sparse keymap library.

Also make sure that we install notify handler only after we allocated
input device and that we remove notify handler before unregistering
input device.

Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
Signed-off-by: Matthew Garrett &lt;mjg@redhat.com&gt;
</content>
</entry>
<entry>
<title>hp-wmi: Fix query interface</title>
<updated>2010-08-23T20:27:08Z</updated>
<author>
<name>Matthew Garrett</name>
<email>mjg@redhat.com</email>
</author>
<published>2010-08-23T19:52:34Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=a8ec105c0764c848d59f18a31f91fa00c99b2e7f'/>
<id>urn:sha1:a8ec105c0764c848d59f18a31f91fa00c99b2e7f</id>
<content type='text'>
The machines I have appear to provide their return value in the arguments
structure, not the output structure. Rework the driver to use that again
in order to get rfkill working again.

Signed-off-by: Matthew Garrett &lt;mjg@redhat.com&gt;
</content>
</entry>
</feed>
