* ucm: let rval_sysfs check the device/driver/module first
[not found] <1597810249724416018-webhooks-bot@alsa-project.org>
@ 2020-08-19 4:10 ` GitHub pull_request - opened
0 siblings, 0 replies; only message in thread
From: GitHub pull_request - opened @ 2020-08-19 4:10 UTC (permalink / raw)
To: alsa-devel
alsa-project/alsa-lib pull request #79 was opened from jason77-wang:
We plan to use the sound driver module's name for the top ucm's name,
I checked it on 3 different ASoC machines, the device/driver links to
machine driver while deice/driver/module links to the sound driver
module, so change the code to readlink the device/driver/module first,
if it fails then readlink the device/driver.
This is the output from those 3 machines:
$readlink /sys/class/sound/card0/device/driver
../../../../bus/platform/drivers/skl_hda_dsp_generic
$readlink /sys/class/sound/card0/device/driver/module
../../../../module/snd_soc_skl_hda_dsp
$readlink /sys/class/sound/card2/device/driver
../../../../../bus/platform/drivers/acp_pdm_mach
$readlink /sys/class/sound/card2/device/driver/module
../../../../module/snd_acp3x_rn
$readlink /sys/class/sound/card0/device/driver
../../../../bus/platform/drivers/sof_sdw
$readlink /sys/class/sound/card0/device/driver/module
../../../../module/snd_soc_sof_sdw
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Request URL : https://github.com/alsa-project/alsa-lib/pull/79
Patch URL : https://github.com/alsa-project/alsa-lib/pull/79.patch
Repository URL: https://github.com/alsa-project/alsa-lib
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-08-19 4:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1597810249724416018-webhooks-bot@alsa-project.org>
2020-08-19 4:10 ` ucm: let rval_sysfs check the device/driver/module first GitHub pull_request - opened
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).