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: 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?