mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
7ac1102b22
Before adding a new FW control, its name is checked against
existing controls list. But the string length in strncmp used
to compare controls names is taken from the list, so if beginnings
of the controls are matching, then the new control is not created.
For example, if CAL_R control already exists, CAL_R_SELECTED
is not created.
The fix is to compare string lengths as well.
Fixes:
|
||
---|---|---|
.. | ||
cs_dsp.c | ||
Kconfig | ||
Makefile |