Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* tlv320aic3x regcache issue
@ 2014-02-26 17:11 Jack Mitchell
  0 siblings, 0 replies; 2+ messages in thread
From: Jack Mitchell @ 2014-02-26 17:11 UTC (permalink / raw)
  To: alsa-devel

Hi,

I have come across an issue where the regcache mechanism used in the
tlv320aic3x driver is causing problems. When switching from 44.1khz to
48khz some of the registers are not written due to the default register
cache holding the same value as being written. However, the codec
requires these registers to be written in order to trigger the change,
this has been proven by changing the register default to something
different, therefore forcing a write at the correct time and it triggers
the change as expected.

What would be the best way to force these registers to be written? Is
there some sort of force write flag, or a way to turn off the cache just
during this portion of the configuration?

Any direction in the proper way of doing this would be much appreciated.

Cheers,
Jack

-- 
  Jack Mitchell (jack@embed.me.uk)
  Embedded Systems Engineer
  Cambridgeshire, UK
  http://www.embed.me.uk
-- 

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

* tlv320aic3x regcache issue
@ 2014-02-26 19:13 Jack Mitchell
  0 siblings, 0 replies; 2+ messages in thread
From: Jack Mitchell @ 2014-02-26 19:13 UTC (permalink / raw)
  To: alsa-devel

Hi,

I have come across an issue where the regcache mechanism used in the
tlv320aic3x driver is causing problems. When switching from 44.1khz to
48khz some of the registers are not written due to the default register
cache holding the same value as being written. However, the codec
requires these registers to be written in order to trigger the change,
this has been proven by changing the register default to something
different, therefore forcing a write at the correct time and it triggers
the change as expected.

What would be the best way to force these registers to be written? Is
there some sort of force write flag, or a way to turn off the cache just
during this portion of the configuration?

Any direction in the proper way of doing this would be much appreciated.

Cheers,
Jack

-- 
   Jack Mitchell (jack@embed.me.uk)
   Embedded Systems Engineer
   Cambridgeshire, UK
   http://www.embed.me.uk
-- 

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

end of thread, other threads:[~2014-02-26 19:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-26 17:11 tlv320aic3x regcache issue Jack Mitchell
  -- strict thread matches above, loose matches on Subject: below --
2014-02-26 19:13 Jack Mitchell

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