mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Change the prototype of soc_widget_read
@ 2014-01-14 23:31 Arun Shamanna Lakshmi
  2014-01-14 23:31 ` [PATCH] ASoC: dapm: Change " Arun Shamanna Lakshmi
  0 siblings, 1 reply; 3+ messages in thread
From: Arun Shamanna Lakshmi @ 2014-01-14 23:31 UTC (permalink / raw)
  To: broonie, lgirdwood
  Cc: perex, tiwai, alsa-devel, linux-kernel, Arun Shamanna Lakshmi

soc_widget_read API returns the register data and it is possible
that a register can contain 0xffffffff at any point of time.
In such cases snd_soc_widget_write is not called after the read
operation inside snd_soc_update_bits_locked API. Thus, change
the prototype of soc_widget_read to return only the error code
and pass the register data through the pointer argument.

Arun Shamanna Lakshmi (1):
  ASoC: dapm: Change prototype of soc_widget_read

 sound/soc/soc-dapm.c |   26 +++++++++++++++-----------
 1 file changed, 15 insertions(+), 11 deletions(-)

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-01-15 11:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-14 23:31 [PATCH] Change the prototype of soc_widget_read Arun Shamanna Lakshmi
2014-01-14 23:31 ` [PATCH] ASoC: dapm: Change " Arun Shamanna Lakshmi
2014-01-15 11:44   ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®