aboutsummaryrefslogtreecommitdiff
path: root/tfa9890
AgeCommit message (Collapse)Author
2017-02-21 shinano-common: tfa: Fix logic mistake in ioctl for eq functionnailyk-fr
A fixed-length array of unsigned char can never be NULL! Fix the logic by initializing the array correctly and assigning to the param struct if we copied anything with memcpy into it instead of doing an useless null check. https://github.com/sonyxperiadev/device-sony-shinano/commit/12d9e45b473fc4354d8acbef2bd8ba05111ed9a1 Change-Id: I31b648ce4c6a2b2752020172d0aa2e4b75b7852a
2017-02-21shinano-common: tfa: Add missing headernailyk-fr
avoid warning as: device/sony/shinano/libaudioamp/tfa9890.c: In function 'tfa9890_prepare_for_ioctl': device/sony/shinano/libaudioamp/tfa9890.c:53:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(tfa9890_param_data.data); ^ device/sony/shinano/libaudioamp/tfa9890.c:53:2: warning: incompatible implicit declaration of built-in function 'free' https://github.com/sonyxperiadev/device-sony-shinano/commit/2aed9e2f4a51bdca13f4403457d6f4483e09b8e5 Change-Id: I6dda71087618b6f9925ae8b3203f675f298d81f6
2015-06-07shinano: Clean up TFA9890 helper libraryEthan Chen
Change-Id: I6c238042f2d15e621aa25fc8edac6f8169ea0e1c