Skip to content

[ASoC] Control access issues #2430

@plbossart

Description

@plbossart

Reported by @tiwai

A bug report in openSUSE bugzilla below
http://bugzilla.opensuse.org/show_bug.cgi?id=1176200
showed a constant kernel error like:

[ 17.545593] sof_sdw sof_sdw: control 2:0:0:PGA2.0 2 Master Capture Switch:0: value out of range 65536 (0/1) at count 0
[ 17.545597] sof_sdw sof_sdw: control 2:0:0:PGA2.0 2 Master Capture Switch:0: access overflow

by accessing via alsactl. This is caught by CONFIG_SND_CTL_VALIDATION=y.

FWIW, the test system was Dell XPS 17 and with topic/dev-sof-rebase on top of v5.9-rc4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CMLApplies to Comet Lake platformP2Critical bugs or normal featuresSDWApplies to SoundWire bus for codec connectionbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions