On Wed, May 05, 2010 at 01:02:03PM +0300, Jarkko Nikula wrote: > Signed-off-by: Jarkko Nikula <jhnikula@xxxxxxxxx> Acked-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> but... > + if (aic3x->gpio_reset >= 0) { > + gpio_set_value(aic3x->gpio_reset, 0); > + gpio_free(aic3x->gpio_reset); > + } There is gpio_is_valid(). _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel