Thread (7 messages) 7 messages, 3 authors, 2021-11-03

Re: [PATCH] ASoC: tegra: Add master volume/mute control support

From: Sameer Pujar <hidden>
Date: 2021-10-29 15:09:13
Also in: alsa-devel, lkml


On 10/26/2021 11:53 AM, Sameer Pujar wrote:

On 10/25/2021 6:28 PM, Jaroslav Kysela wrote:
quoted
On 25. 10. 21 13:06, Sameer Pujar wrote:
quoted
@@ -150,11 +186,22 @@ static int tegra210_mvc_put_mute(struct 
snd_kcontrol *kcontrol,
...
quoted
      return 1;
It's a bit unrelated comment to this change, but it may be worth to 
verify all
kcontrol put callbacks in the tegra code. Ensure that value 1 is 
returned only
when something was really changed in hardware.
There are cases when the mixer control update is not immediately written 
to HW, instead the update is ACKed (stored in variable) and writen to HW 
at a later point of time. Do these cases qualify for "return 1" as well?
quoted
The tegra210_i2s_put_control() has opposite problem for example - 
returns
always 0 which means that the change notifications are not send to 
subscribed
applications.
Thanks Jaroslav for review. I will keep a note to review put() calls 
in Tegra drivers and send fixes accordingly.
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help