Bug 12746 - /sys/devices/platform/baby-aic3104.0/aic3104-codec/codec_reg should get data from actual device, rather than cache
: /sys/devices/platform/baby-aic3104.0/aic3104-codec/codec_reg should get data ...
Status: RESOLVED FIXED
Product: SB Radio
Classification: Unclassified
Component: Audio
: Include FW version in comment
: PC Windows XP
: -- normal (vote)
: MP
Assigned To: Richard Titmuss
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-08 20:23 UTC by Caleb Crome
Modified: 2009-09-08 09:18 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Caleb Crome 2009-07-08 20:23:46 UTC
Part of what made https://bugs-archive.lyrion.org/show_bug.cgi?id=12456 difficult to diagnose, is that codec_reg seems to return the values from the cache, rather than reading the actual device.  

It should read from the device I think.

-C
Comment 1 Richard Titmuss 2009-07-10 05:19:54 UTC
No, we should fix it so the cache is correct.
Comment 2 Caleb Crome 2009-07-13 08:22:41 UTC
Hey, I really need some way to verify the actual settings in the device.  can we make a new thing like codec_reg_nocache so I can verify cache vs. nocache?
Comment 3 Richard Titmuss 2009-07-13 15:23:11 UTC
r6538 added debug to aic3104 registers. You can print the register settings using:
	cat /sys/bus/asoc/drivers/aic3104-codec/debugreg