Il 04/06/2011 10:43, Mattia Dongili ha scritto:
when sony_call_snc_handle(handle, 0x200,&result) fails above you will
be reporting -1 via the acpi bus. The old code restored the event and
reported the raw number instead.

You are right, does the following sony_nc_notify modification look fine to you?

/* hotkey event, a key has been pressed, retrieve it */
value = sony_nc_hotkeys_decode(handle);
if (value > 0) /* known event */
        sony_laptop_report_input_event(value);
else /* restore the original event */
        value = event;

--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" 
in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to