[PATCH v3 2/9] console: Keep ->start() and ->stop() balanced

Simon Glass sjg at chromium.org
Mon Dec 21 17:47:14 CET 2020


On Mon, 21 Dec 2020 at 05:30, Andy Shevchenko
<andriy.shevchenko at linux.intel.com> wrote:
>
> There is no need to call ->start() for already started device. All the same,
> there is no need to call ->stop() for devices still in use.
>
> For now enforce this only for IOMUX case.
>
> Cc: Simon Glass <sjg at chromium.org>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
> ---
> v3: renamed new function and added a documentation for it
>  common/console.c | 37 +++++++++++++++++++++++++++++++++++++
>  1 file changed, 37 insertions(+)

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


More information about the U-Boot mailing list