AnsweredAssumed Answered

How to adapt the SGTL5000 driver for other devices

Question asked by Josh Kurland on Jan 15, 2015
Latest reply on Oct 28, 2015 by Josh Kurland



I have an I2S audio device connected to an i.MX6Q using the same interface as the common SGTL5000.  In order to test the basic functionality of my device, I would like to use ALSA and the imx-sgtl5000 driver to send sound from a user space application to the new hardware.  However, because the SGTL5000 codec is not physically present on my board, the driver probe fails.


  imx-sgtl5000 sound.22: ASoC: CODEC (null) not registered


  imx-sgtl5000 sound.22: snd_soc_register_card failed (-517)


How can I adapt the probe function to allow the imx-sgtl5000 driver to run without the hardware being present?


Thank you,

Josh K.