Re: [ALSA] f2c5784f827: snd_hda_codec_hdmi hdaudioC1D0: Unable to sync register 0x4f0009. -5

From: Takashi Iwai
Date: Thu Mar 12 2015 - 02:29:42 EST


At Thu, 12 Mar 2015 12:01:04 +0800,
Fengguang Wu wrote:
>
> Hi Takashi,
>
> We noticed the below dmesg errors on
>
> git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git topic/hda-regmap
> commit f2c5784f82792221990f708dff42a71a4a51b721 ("ALSA: hda - Use regmap for amp accesses")
>
> <6>[ 17.709789] snd_hda_intel 0000:02:00.1: Disabling MSI
> <6>[ 17.710115] snd_hda_intel 0000:02:00.1: Handle VGA-switcheroo audio client
> <6>[ 17.748128] snd_hda_codec_realtek hdaudioC0D2: autoconfig for ALC898: line_outs=3 (0x14/0x15/0x16/0x0/0x0) type:line
> <6>[ 17.748729] snd_hda_codec_realtek hdaudioC0D2: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
> <6>[ 17.749253] snd_hda_codec_realtek hdaudioC0D2: hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
> <6>[ 17.749735] snd_hda_codec_realtek hdaudioC0D2: mono: mono_out=0x0
> <6>[ 17.750102] snd_hda_codec_realtek hdaudioC0D2: dig-out=0x1e/0x0
> <6>[ 17.750456] snd_hda_codec_realtek hdaudioC0D2: inputs:
> <6>[ 17.750788] snd_hda_codec_realtek hdaudioC0D2: Front Mic=0x19
> <6>[ 17.751140] snd_hda_codec_realtek hdaudioC0D2: Rear Mic=0x18
> <6>[ 17.751494] snd_hda_codec_realtek hdaudioC0D2: Line=0x1a
> <6>[ 17.765185] input: HDA Intel PCH Front Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input2
> <6>[ 17.765787] input: HDA Intel PCH Rear Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input3
> <6>[ 17.765845] input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1b.0/sound/card0/input4
> <6>[ 17.765895] input: HDA Intel PCH Line Out Front as /devices/pci0000:00/0000:00:1b.0/sound/card0/input5
> <6>[ 17.765958] input: HDA Intel PCH Line Out Surround as /devices/pci0000:00/0000:00:1b.0/sound/card0/input6
> <6>[ 17.765999] input: HDA Intel PCH Line Out CLFE as /devices/pci0000:00/0000:00:1b.0/sound/card0/input7
> <6>[ 17.766041] input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input8
> <6>[ 17.896645] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:02.0/0000:02:00.1/sound/card1/input9
> <6>[ 17.897272] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:02.0/0000:02:00.1/sound/card1/input10
> <6>[ 17.897914] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:02.0/0000:02:00.1/sound/card1/input11
> <6>[ 17.898581] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:02.0/0000:02:00.1/sound/card1/input12
> <3>[ 17.919298] snd_hda_codec_hdmi hdaudioC1D0: Unable to sync register 0x4f0009. -5
> <3>[ 17.929749] snd_hda_codec_realtek hdaudioC0D2: Unable to sync register 0x2f000a. -5
> <3>[ 17.930271] snd_hda_codec_realtek hdaudioC0D2: Unable to sync register 0x2f000a. -5

This is a known bug of regmap, and the fix was already submitted to
Mark, found on linux-next:
commit 4ceba98d3fe204c59e5f63c4d834b45dcfe789f0
regmap: Skip read-only registers in regcache_sync()

Once when it's merged to Linus tree, I'll either rebase my branch or
merge the fix.


thanks,

Takashi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/