[U-Boot] [PATCH v3 2/3] misc: uclass: Add enable/disable function

Simon Glass sjg at chromium.org
Fri May 25 02:41:39 UTC 2018


Hi Mario,

On 23 May 2018 at 08:07, Mario Six <mario.six at gdsys.cc> wrote:
> Add generic enable/disable function to the misc uclass.
>
> Signed-off-by: Mario Six <mario.six at gdsys.cc>
>
> ---
>
> v2 -> v3:
> * Now return old state from misc_set_enabled
>
> v1 -> v2:
> * Merged the two functions into one function
> * Explained the semantics of enabling/disabling more throughly
>
> ---
>  drivers/misc/misc-uclass.c | 10 ++++++++++
>  include/misc.h             | 27 +++++++++++++++++++++++++++
>  2 files changed, 37 insertions(+)
>

Reviewed-by: Simon Glass <sjg at chromium.org>

Can you please add a simple dm test for the misc device? Or if
drivers/mailbox/sandbox-mbox-test.c is sufficient, update it?

Regards,
Simon


More information about the U-Boot mailing list