[alsa-devel] [RFC] [patch 1/1] imx-sgtl5000: return E_PROBE_DEFER if ssi/codec not found

Arnaud Patard (Rtp) arnaud.patard at rtp-net.org
Mon Jun 24 09:33:02 CEST 2013


Fabio Estevam <festevam at gmail.com> writes:

> On Thu, Jun 20, 2013 at 6:20 PM, Arnaud Patard
> <arnaud.patard at rtp-net.org> wrote:
>> If the ssi or codec drivers are not loaded (for instance, because spi or i2c
>> bus drivers are not loaded), returning -EINVAL will for people to unload and
>> then reload the module to get sound working. Returning E_PROBE_DEFER will
>> mitigate this.
>>
>> Signed-off-by: Arnaud Patard <arnaud.patard at rtp-net.org>
>
> Which board you are using that fails to probe sgtl5000?
>

It was on imx53-qsb, nearly everything in module and boot with DT.

> I have fixed this problem for some boards recently.

I'm curious to know how to fix that with modules on a per board
basis. Please, explain.

Thanks,
Arnaud


More information about the Alsa-devel mailing list