Il 06/06/2011 14:42, Mattia Dongili ha scritto:
On Mon, Jun 06, 2011 at 02:23:34PM +0200, Marco Chiappero wrote:
Il 06/06/2011 00:38, Mattia Dongili ha scritto:
it's a bit out of context but I guess it should work. It would be good
to have sony_nc_hotkeys_decode also report the "not decoded" case
consistently back to callers though.
Do you mean a negative value instead of 0? If so, let's return -EIO
(or -2) on error and -1 for the unknown mapping case, else the
translated key value (> 0).
I was more thinking of -EINVAL for all cases.
Ok, added to my changelist. As soon as there are no more comments I'll
repost the modified patches.
--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html