summary refs log tree commit diff
path: root/drivers/amba
diff options
context:
space:
mode:
authorThomas Renninger <trenn@suse.de>2010-05-21 16:42:40 +0200
committerMatthew Garrett <mjg@redhat.com>2010-08-03 09:48:43 -0400
commit6d96e00cef35036c513d342c4676d210b842880d (patch)
treebf33f323ac9011331c60172501e9d92b44acd443 /drivers/amba
parent8dda6b0410cfc64642b2ed5b37987292f6321d0f (diff)
downloadlinux-6d96e00cef35036c513d342c4676d210b842880d.tar.gz
X86 platform: hp-wmi Better match the HP WMI query interface
- Improve error handling, by explictly return zero for success, error otherwise
- WMI query command can have arbitrary input sized params
- WMI query command can have specific output sized params (0, 4, 128,..) byte

I like to go on here, but this is a rather intrusive change that should
be looked at first. I am sure the one or other thing can be done better or
there might be typo/bug somewhere.

This did not get any testing yet, only compile tested.

Next steps could be:
  - Eventually introduce hp_wmi_perform_{read,write}_query macros
  - Introduce new wireless query interface (0x1B)
  - more

Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
CC: linux-acpi@vger.kernel.org
CC: platform-driver-x86@vger.kernel.org
Diffstat (limited to 'drivers/amba')
0 files changed, 0 insertions, 0 deletions