]> git.baikalelectronics.ru Git - kernel.git/commit
pwm: meson: Fix mux clock names
authorJerome Brunet <jbrunet@baylibre.com>
Wed, 1 Aug 2018 10:57:20 +0000 (12:57 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Mon, 20 Aug 2018 09:32:25 +0000 (11:32 +0200)
commit3c2b5e34be41310184628e1eb1372ef53ce6bd40
treed9a30a4cce24a5cd7ff6b4cf4a063ca73d5bb4e5
parent60af43385d926715c682241a25e7e8a0607a3be0
pwm: meson: Fix mux clock names

Current clock name looks like this:
/soc/bus@ffd00000/pwm@1b000#mux0

This is bad because CCF uses the clock to create a directory in clk debugfs.
With such name, the directory creation (silently) fails and the debugfs
entry end up being created at the debugfs root.

With this change, the clock name will now be:
ffd1b000.pwm#mux0

This matches the clock naming scheme used in the ethernet and mmc driver.
It also fixes the problem with debugfs.

Fixes: 62580b0a22b1 ("pwm: Convert to using %pOF instead of full_name")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-meson.c