Skip to content

Commit 5e2e03e

Browse files
committed
sof_remove: remove snd_hda_codec_alc662
Fixes issue: rmmod: ERROR: Module snd_hda_codec_realtek_lib is in use by: snd_hda_codec_alc662 Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
1 parent ee717e4 commit 5e2e03e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tools/kmod/sof_remove.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ remove_module snd_hda_codec_hdmi
308308
remove_module snd_soc_dmic
309309

310310
remove_module snd_hda_codec_alc269
311+
remove_module snd_hda_codec_alc662
311312
remove_module snd_hda_codec_alc882
312313
remove_module snd_hda_codec_realtek
313314
remove_module snd_hda_codec_realtek_lib

tools/tplgtool2.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,9 +738,10 @@ def print_pcm_info(self):
738738
rate_max = cap["rate_max"]
739739
ch_min = cap["channels_min"]
740740
ch_max = cap["channels_max"]
741+
compress = pcm["compress"]
741742
print(f"pcm_id={pcm_id:>2};name={name.ljust(max_name_len, ' ')};type={pcm_type:<8};"
742743
f"rate_min={rate_min:>6};rate_max={rate_max:>6};ch_min={ch_min};ch_max={ch_max};"
743-
f"fmts={fmts}")
744+
f"fmts={fmts};compress={compress}")
744745

745746
@cached_property
746747
def coreids(self):

0 commit comments

Comments
 (0)