Go to file
Iuliana Prodan 0a9262ae4b drivers: imx: esai: set private data after allocation
ESAI allocates private data and retrieves this data using
dai_get_drvdata().
But this is never set using dai_set_drvdata() and sometimes
dai_get_drvdata() returns NULL.
So, after private data is allocated, set it using dai_set_drvdata().

Without this fix, on i.MX8QM, on playback we get:
root@imx8qmmek:~# aplay -Dhw:1,0 -f S16_LE -c 2 -r 48000 -d 5 -t raw /dev/urandom
Playing raw data '/dev/urandom' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
[  197.478128] sof-audio-of 556e8000.dsp: error : DSP panic!
[  197.483547] sof-audio-of 556e8000.dsp: error: runtime exception
[  197.489473] sof-audio-of 556e8000.dsp: error: trace point 0dead006
[  197.495658] sof-audio-of 556e8000.dsp: error: panic at :0
[  197.501064] sof-audio-of 556e8000.dsp: error: DSP Firmware Oops
[...]

Fixes: f40222a1ea ("drivers: imx: esai: use rate from topology")
Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2021-03-23 09:45:23 +02:00
.github check patch: ignore UNKNOWN_COMMIT_ID in shallow clone 2021-03-11 13:15:31 +02:00
doc sof.doxygen.in: change ../test to @top_srcdir@/test 2021-01-27 11:00:04 +00:00
installer installer: fix incremental builds 2021-03-11 16:52:29 +00:00
keys Move signing key pair from rimage/ up one level 2020-05-13 10:16:04 +01:00
rimage@d1f91efdc1 rimage: Update to commit d1f91efdc1 2020-12-09 11:06:31 +00:00
scripts scripts: xtensa_build_all: Fix configuration names for i.MX 2021-03-22 20:24:49 +02:00
smex ipc: Remove user_abi_version from mailbox 2020-10-12 11:41:11 +01:00
src drivers: imx: esai: set private data after allocation 2021-03-23 09:45:23 +02:00
test demux: fix demux look up table preparation 2021-02-17 10:31:55 +00:00
tools topology: imx8m: add kwd component with wm8960 codec 2021-03-16 13:47:12 +02:00
zephyr Revert "zephyr: fixed cached rimage path" 2021-02-11 20:19:15 +00:00
.gitignore gitignore: Add checkpatch temporary file to gitignore 2020-10-22 13:05:23 +01:00
.gitmodules Add rimage as a git submodule 2020-05-13 10:16:04 +01:00
.travis.yml .travis.yml: build Sue Creek 2021-01-18 14:34:04 +00:00
CMakeLists.txt cmake: generate the complete .config at configuration time. 2021-03-03 22:33:53 +00:00
CODEOWNERS CODEOWNERS -= xiulipan 2021-03-19 13:41:03 +00:00
Kconfig ipc: debug: Add KConfig to conditionally compile memory scan feature 2020-10-06 11:35:04 +01:00
LICENCE Remove rimage from source tree 2020-05-13 10:16:04 +01:00
README.md .github: rename workflow from "Github Action CI" to "Github Actions" 2021-01-28 13:20:22 +00:00

README.md

Sound Open Firmware

Status

GitHub Actions Build Status Gitter chat IRC chat

Documentation

See docs

Running the tests

See unit testing documentation

Deployment

TODO: Add additional notes about how to deploy this on a live system

Contributing

See Contributing to the Project

License

This project is licensed under the BSD Clause 3 - see the LICENCE file for details