On Fri, Apr 20, 2018 at 12:44 PM, Kai-Heng Feng <kai.heng.feng@xxxxxxxxxxxxx> wrote: > On some Dell platforms, there's a BIOS option "Enable Switchable > Graphics". This information is useful if we want to do different things > based on this value, e.g. disable unused audio controller that comes > with the discrete graphics. > int dell_micmute_led_set(int on); > +bool dell_switchable_gfx_is_enabled(void); I would rather preserve existing API, i.e. - prototype int func(void), where return either state or negative error code. - naming: dell_switchable_gfx_get() -- With Best Regards, Andy Shevchenko _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel