On Fri, Dec 11, 2015 at 07:43:57PM +0100, Hans de Goede wrote: > + gpiod_set_value_cansleep(scodec->gpio_pa, > + !!SND_SOC_DAPM_EVENT_ON(event));
Why the double negation here? The macro is already supposed to give you a boolean and gpiod_set_value_cansleep() ought to cope with a C logic value. -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: PGP signature
