techpack: audio: tfa98xx: add error translation routine
Clang warns:
./techpack/audio/asoc/codecs/tfa98xx/tfa_dsp.c:3055:9: warning: implicit conversion
from enumeration type 'enum Tfa98xx_Error' to different enumeration type
'enum tfa_error' [-Wenum-conversion]
return err;
~~~~~~ ^~~
./techpack/audio/asoc/codecs/tfa98xx/tfa_dsp.c:3090:9: warning: implicit conversion
from enumeration type 'enum Tfa98xx_Error' to different enumeration type
'enum tfa_error' [-Wenum-conversion]
return err;
~~~~~~ ^~~
./techpack/audio/asoc/codecs/tfa98xx/tfa_dsp.c:3142:9: warning: implicit conversion
from enumeration type 'enum Tfa98xx_Error' to different enumeration type
'enum tfa_error' [-Wenum-conversion]
return err;
~~~~~~ ^~~
Change-Id: I4d1d428f0306bbe6bb25d8beab8a74307aaeadf7
1 file changed