From b2522f9262539fc328b4b9344f8a2f7ef2cb18d5 Mon Sep 17 00:00:00 2001 From: Bo Shen Date: Fri, 11 May 2012 17:39:28 +0800 Subject: [PATCH] ALSA: atmel/ac97c: correct the unexpected behavior when using uninitial value for reset pin When pdata->reset_pin is passed with a negative value (means gpio is invalid), then chip->reset_pin will not be assigned to a vaule, it will use default value 0. This will cause unexpected behavior. So, add this patch to correct. Signed-off-by: Bo Shen Acked-by: Nicolas Ferre Signed-off-by: Takashi Iwai --- Reading git-format-patch failed