diff options
| author | Geert Uytterhoeven <[email protected]> | 2015-12-04 15:33:53 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2015-12-11 09:11:40 +0000 |
| commit | e1fef9e2ce4272b720ecb1ce696a72aaddbb7585 (patch) | |
| tree | 7f0db2e1ff9ef4fac656f2fa0a89c3758cb4bb9e /lib/dma-debug.c | |
| parent | gpio: rcar: Remove obsolete platform data support (diff) | |
| download | kernel-e1fef9e2ce4272b720ecb1ce696a72aaddbb7585.tar.gz kernel-e1fef9e2ce4272b720ecb1ce696a72aaddbb7585.zip | |
gpio: rcar: Improve clock error handling and reporting
If the Renesas R-Car GPIO driver cannot find a functional clock, it
prints a warning, .e.g.
gpio_rcar ffc40000.gpio: unable to get clock
and continues, as the clock is optional, depending on the SoC type.
This warning may confuse users.
To fix this, add a flag to indicate that the clock is mandatory or
optional:
- If the clock is mandatory (on R-Car Gen2 and Gen3), a missing clock
is now treated as a fatal error,
- If the clock is optional (on R-Car Gen1), the warning is no longer
printed.
Suggested-by: Magnus Damm <[email protected]>
Signed-off-by: Geert Uytterhoeven <[email protected]>
Acked-by: Simon Horman <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions
