Mon, Mar 06, 2023 at 09:00:11AM +0000, Biju Das kirjoitti: > This patch adds support fpr output-disable requests from GPT, when both > outputs are low. > > Added sysfs to enable/disable for configuring GPT output disable request > when both outputs are low. ... > +static int rzg2l_poeg_output_disable_both_low(struct rzg2l_poeg_chip *chip, > + bool enable) > +{ > + if (enable) > + set_bit(RZG2L_GPT_OABLF, chip->gpt_irq); > + else > + clear_bit(RZG2L_GPT_OABLF, chip->gpt_irq); JFYI: assign_bit() > + rzg2l_gpt_poeg_disable_req_both_low(chip->gpt_dev, chip->index, > + test_bit(RZG2L_GPT_OABLF, chip->gpt_irq)); > + > + return 0; > +} -- With Best Regards, Andy Shevchenko