ALSA: core: Allow card id change to the same string
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>
Thu, 16 Sep 2010 07:26:54 +0000 (10:26 +0300)
committerTakashi Iwai <tiwai@suse.de>
Thu, 16 Sep 2010 08:17:25 +0000 (10:17 +0200)
commit4437ecdc7190302ed02fb1467c116aff29c325b2
tree707eef4bca82a1b8f6cf84deb4b48fa575e23715
parent1a4e34e67c6de2385d9d493e69c0f6fce886b14d
ALSA: core: Allow card id change to the same string

When user want to change the card id to the same string
on the card via /sys/class/sound/cardX/id, do not
report error. Instead return with success without
doing anything.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/init.c