Re: [PATCH v1 3/4] ASoC: tda7802: Add enable device attribute

2019-06-13 Thread Mark Brown
On Tue, Jun 11, 2019 at 06:49:08PM +0100, Thomas Preston wrote: > Add a device attribute to control the enable regulator. Write 1 to > enable, 0 to disable (ref-count minus one), or -1 to force disable the > physical pin. > To disable a set of amplifiers wired to the same enable gpio, each > devic

Re: [PATCH v1 3/4] ASoC: tda7802: Add enable device attribute

2019-06-12 Thread Cezary Rojewski
On 2019-06-11 19:49, Thomas Preston wrote: Add a device attribute to control the enable regulator. Write 1 to enable, 0 to disable (ref-count minus one), or -1 to force disable the physical pin. To disable a set of amplifiers wired to the same enable gpio, each device must be disabled. For examp

[PATCH v1 3/4] ASoC: tda7802: Add enable device attribute

2019-06-11 Thread Thomas Preston
Add a device attribute to control the enable regulator. Write 1 to enable, 0 to disable (ref-count minus one), or -1 to force disable the physical pin. To disable a set of amplifiers wired to the same enable gpio, each device must be disabled. For example: echo 0 > /sys/devices/.../device