Skip to content

pcm512x 1-004d: Failed to reset device: -5 #662

Closed
@maxnet

Description

@maxnet

This probably won't show up on Raspbian because i2c is blacklisted by default there, but on other distributions, some errors are ruining previously quiet console output:

[ 19.315414] pcm512x 1-004d: Failed to reset device: -5
[ 19.322769] pcm512x 1-004c: Failed to reset device: -5

Seems udev is triggered to load the snd_soc_pcm512x module twice and snd_soc_wm8804 once, due to the i2c declarations here:

https://github.com/raspberrypi/linux/blob/rpi-3.12.y/arch/arm/mach-bcm2708/bcm2708.c#L663
https://github.com/raspberrypi/linux/blob/rpi-3.12.y/arch/arm/mach-bcm2708/bcm2708.c#L708
https://github.com/raspberrypi/linux/blob/rpi-3.12.y/arch/arm/mach-bcm2708/bcm2708.c#L677

Should there really be static declarations for hardware add-ons that may or may not be present?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions