Re: [PATCH 15/15] rfkill: document rw rfkill switches and clarify input subsystem interactions

From: Ivo van Doorn
Date: Tue May 20 2008 - 05:57:41 EST


> +You should:
> - rfkill_allocate()
> - - input_allocate_polled_device()
> + - modify rfkill fields (flags, name)
> + - modify state to the current hardware state (THIS IS THE ONLY TIME
> + YOU CAN ACCESS state DIRECTLY)
> - rfkill_register()
> - - input_register_polled_device()

Wasn't it the plan to send the current hardware state as rfkill registration argument,
so we can force drivers to send a valid state to rfkill?

Ivo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/