[U-Boot] [PATCH 34/55] exynos: spi: Convert the timeout to debug()

Simon Glass sjg at chromium.org
Tue Jul 28 01:30:57 CEST 2015


On 2 July 2015 at 18:16, Simon Glass <sjg at chromium.org> wrote:
> Since the timeout is reported through normal channels, and is sometimes
> expected (e.g. if the bus is being probed for a non-existent device),
> don't display the message in the driver.
>
> In general, drivers should not write to the console as this limits their
> usefulness in error conditions.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  drivers/spi/exynos_spi.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Applied to u-boot-dm.


More information about the U-Boot mailing list