52d256cc71
With the recent addition of hashed controls lookup it's not enough to just
update the control name field, the hash entries for the modified control
have to be updated too.
snd_ctl_rename() takes care of that, so use it instead of directly
modifying the control name.
While we are at it, check also that the new control name doesn't
accidentally overwrite the available buffer space.
Fixes:
|
||
---|---|---|
.. | ||
Makefile | ||
ac97_codec.c | ||
ac97_id.h | ||
ac97_local.h | ||
ac97_patch.c | ||
ac97_patch.h | ||
ac97_pcm.c | ||
ac97_proc.c |