I have modified play driver and developed capture driver for meson S905 GX
device (Odroid-C2) based on mainline Linux v5.6.
I have also modified CS4245 codec driver.
"play" works fine:
root@hardkernel-odroidc2:~# aplay -l
List of PLAYBACK Hardware Devices
card 0: S905 [GXBB ODROID-C2 S90
_PCM_IOCTL_SYNC_PTR, 0xe5dea3d0) = 0
ioctl(4, SNDRV_PCM_IOCTL_SYNC_PTR, 0xe5dea3d0) = 0
newfstatat(AT_FDCWD, "/tmp/test.wav", {st_mode=S_IFREG|0644, st_size=44,
...}, AT_SYMLINK_NOFOLLOW) = 0
unlinkat(AT_FDCWD, "/tmp/test.wav", 0) = 0
openat(AT_FDCWD, "/tmp/test.wav&quo