We are developing the ALSA SoC codec class driver for one of the codec called adau144x and got stuck at one point while testing the same. I know that this place is for hifiberry support but thought you guys are working on the simillar projects so posting it. Any help would be much appreciated.
I am able to register the soundcard for the codec after inserting the codec driver and machine driver module. I am also able to control/configure adau144x using ALSA controls defined in the codec driver but when i execute aplay command to play audio file on the codec, it fails with the error saying Unable to install hw params. Below is the log for the same.
pi@raspberrypi:~/adau144x$ aplay -c 1 -D plughw:1,0 blackbird.wav
Playing WAVE 'blackbird.wav' : Signed 24 bit Little Endian in 3bytes, Rate 44100 Hz, Stereo
aplay: set_params:1145: Unable to install hw params:
PERIOD_SIZE: (5512 5513)
PERIOD_BYTES: (33072 33078)
PERIODS: (3 5)
Request for the help to resolve the issue for ALSA codec driver.