]> 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)
commit43fd8719f8289f5c3d74573262ab17597f2cd53a
treed380c2d70c6aab3a0e88d66c832e13d4dc13bec4
parenteee4ac0fdf7741756742ecde6de523de00a74621
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