On Tue, Jun 15, 2010 at 03:11:10PM +1000, Stuart Longland wrote:
On Tue, Jun 15, 2010 at 10:27:34AM +1000, Stuart Longland wrote:
On Fri, Jun 11, 2010 at 11:18:04AM +0100, Mark Brown wrote:
On Fri, Jun 11, 2010 at 03:55:12PM +1000, Stuart Longland wrote:
(1) When using the SOC_DOUBLE_R_SX_TLV controls, I notice there's an odd interaction between the mute switch associated with the control, and its corresponding gain setting.
Nothing changes in the actual registers (except the mute bit of course) but the displayed gain shoots up to infinity if the mute is toggled when the gain associated with that mute control is set below 0dB. When the gain is at 0dB or above, toggling the mute has no effect on the displayed gain setting.
This is almost always due to having an overlap between the bitfield for the volume and the mute bit.
I'll have a closer look, perhaps there's some misunderstanding on my part as to how the macros work.
Okay, I've had a close inspection of how the SOC_DOUBLE_R_SX_TLV widgets are implemented. I couldn't find where in the git trees the control had been added, I wound up applying this patch myself in my tree... it apparently got applied in the official trees, but I cannot find it.
Okay... further digging, found it at http://git.kernel.org/?p=linux/kernel/git/lrg/asoc-2.6.git;a=patch;h=b6f4bb383d69cac46f17e2305720f9a3d426c5ed
Looks like what I got is pretty much identical.