Commit 45d0941
committed
audio: volume: drop CONFIG_COMP_PEAK_VOL guards
Commit fcfcb07 ("llext: remove unneeded data and functions")
introduced some "ifdef" guards that make the volume component unusable
unless "CONFIG_COMP_GAIN" or "CONFIG_COMP_PEAK_VOL" is enabled. This
change in behavior results in the following error on the firmware side:
<ERROR_MSG>
<err> ipc: get_drv(): the provided UUID (b77e677e41885ff4a8fb14af8286bfbd)
doesn't match to any driver!
</ERROR_MSG>
for an i.MX platform using the volume component with "CONFIG_COMP_GAIN=n"
and "CONFIG_COMP_PEAK_VOL=n".
Based on the Kconfig description, "CONFIG_COMP_GAIN" refers to the gain
component, while "CONFIG_COMP_PEAK_VOL" refers to (snippet taken from the
volume Kconfig): "This option enables reporting to host peak vol regs.".
This description implies that "CONFIG_COMP_PEAK_VOL" doesn't manage the
component itself. This is further reinforced by the fact that, previously,
using the peak volume component without the "CONFIG_COMP_PEAK_VOL" config
enabled worked fine.
As such, drop all of the "CONFIG_COMP_PEAK_VOL" "ifdef" guards that were
introduced by the aforementioned commit.
Fixes fcfcb07 ("llext: remove unneeded data and functions")
Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>1 parent d3e3fce commit 45d0941
1 file changed
+0
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | 52 | | |
55 | 53 | | |
56 | 54 | | |
| |||
212 | 210 | | |
213 | 211 | | |
214 | 212 | | |
215 | | - | |
216 | | - | |
217 | 213 | | |
218 | 214 | | |
219 | 215 | | |
| |||
551 | 547 | | |
552 | 548 | | |
553 | 549 | | |
554 | | - | |
555 | 550 | | |
556 | 551 | | |
557 | 552 | | |
| |||
783 | 778 | | |
784 | 779 | | |
785 | 780 | | |
786 | | - | |
787 | 781 | | |
788 | | - | |
789 | 782 | | |
790 | 783 | | |
791 | 784 | | |
| |||
795 | 788 | | |
796 | 789 | | |
797 | 790 | | |
798 | | - | |
799 | 791 | | |
800 | 792 | | |
801 | 793 | | |
| |||
837 | 829 | | |
838 | 830 | | |
839 | 831 | | |
840 | | - | |
841 | 832 | | |
842 | 833 | | |
843 | | - | |
844 | 834 | | |
845 | 835 | | |
846 | 836 | | |
| |||
0 commit comments