diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2020-06-16 23:21:25 +0200 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2020-06-18 14:23:11 +0200 |
commit | f76fc5ff9a6533d6eadb8521bf60bf7b1cf293b9 (patch) | |
tree | ef0d5a5d4782fe5afc72cd46ac040ba924471b7e /include/linux/compiler_types.h | |
parent | f8794feaf65cdc97767604cf864775d20b97f397 (diff) |
drm/etnaviv: Don't ignore errors on getting clocks
There might be good reasons why the getting a clock failed. To treat the
clocks as optional we're specifically only interested in ignoring -ENOENT,
and devm_clk_get_optional() does just that.
Note that this preserves the original behavior of all clocks being
optional. The binding document mandates the "bus" clock while the dove
machine only specifies "core".
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'include/linux/compiler_types.h')
0 files changed, 0 insertions, 0 deletions