Messages in this thread | | | Date | Sat, 4 Apr 2009 14:35:26 +0200 | Subject | Re: [PATCH 2.6.29] eeepc-laptop: report brightness control events via the input layer | From | Corentin Chary <> |
| |
>> How can brn be -2? > If notify_brn() wasn't called, it will be. Oh, yeah, I miss the if() before notify_brn()
>> And why -2? > Because notify_brn() won't return it (and if it ever does, it needs to be > fixed). (Yes, I know, "magic numbers" and all that...) Maybe a negative known error code could be used here
-- Corentin Chary http://xf.iksaif.net
| |