Android 10.0.0 Release 0.30 (QQ1B.191205.011/QQ1B.191205.012.A1/QQ1C.191205.016.A1,coral/flame)
audio: fixup crus_sp_compat_ioctl
crus_sp_ioctl_header needs to be re-allocated in
crus_sp_compat_ioctl since the size of the structure
is different between 32-bit and 64-bit callers.
Also fixup the contained userspace pointer with
compat_ptr().
Bug: 135130450
Bug: 135129430
Test:
The calibration data is good to send to library and re-calibration works.
Change-Id: Ie2c2473bf5ac061fd18426ae8c69b6dbf1895cda
Signed-off-by: Andrew Chant <achant@google.com>
1 file changed