summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYi Ding <yi.s.ding@gmail.com>2026-05-28 23:00:05 -0700
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-06-29 16:10:36 +0200
commit172c5a7d81deb922ddedd1bc920751c7fed6c43c (patch)
tree156b42c80720e67bc829907969604311fe945abc /include
parent253355887a1ab0ac8f33b356c7c1140eee554d18 (diff)
downloadlinux-172c5a7d81deb922ddedd1bc920751c7fed6c43c.tar.gz
linux-172c5a7d81deb922ddedd1bc920751c7fed6c43c.zip
media: cec: meson: ao-cec-g12a: name the CEC core regmap to avoid debugfs clash
The driver registers two regmaps on the same platform device: an MMIO regmap for the AO CEC registers, and an indirect regmap (using reg_read()/reg_write() callbacks) for the CEC controller core registers. Neither regmap_config sets a .name, so both default their debugfs directory to the device name and collide: debugfs: 'ff800280.cec' already exists in 'regmap' Because of the clash the second regmap's debugfs directory fails to register, so its registers can no longer be inspected via debugfs. Give the indirect CEC core regmap a distinct name. The two debugfs directories then become "<dev>.cec" and "<dev>.cec-core". This only affects debugfs naming; register access is unchanged. Tested on an ODROID-N2 (Amlogic S922X): the warning is gone and both /sys/kernel/debug/regmap/ff800280.cec and ff800280.cec-core are present. Fixes: b7778c46683c ("media: platform: meson: Add Amlogic Meson G12A AO CEC Controller driver") Cc: stable@vger.kernel.org Assisted-by: Claude:claude-opus-4-8 Signed-off-by: Yi Ding <yi.s.ding@gmail.com> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions