]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: ti: omap-mcbsp: duplicate sysfs error
authorDavid Owens <daowens01@gmail.com>
Mon, 20 Jun 2022 18:37:43 +0000 (13:37 -0500)
committerMark Brown <broonie@kernel.org>
Thu, 7 Jul 2022 16:16:21 +0000 (17:16 +0100)
commit46c60ddcb23eab0e7666cf66fc5d44966ebc8a11
treed380c2d70c6aab3a0e88d66c832e13d4dc13bec4
parent0ed078ac5f9a3c321db664973707d73412fd8b6a
ASoC: ti: omap-mcbsp: duplicate sysfs error

Convert to managed versions of sysfs and clk allocation to simplify
unbinding and error handling in probe.  Managed sysfs node
creation specifically addresses the following error seen the second time
probe is attempted after sdma_pcm_platform_register() previously requsted
probe deferral:

sysfs: cannot create duplicate filename '/devices/platform/68000000.ocp/49022000.mcbsp/max_tx_thres'

Signed-off-by: David Owens <dowens@precisionplanting.com>
Link: https://lore.kernel.org/r/20220620183744.3176557-1-dowens@precisionplanting.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/ti/omap-mcbsp-priv.h
sound/soc/ti/omap-mcbsp-st.c
sound/soc/ti/omap-mcbsp.c