Re: [PATCH] cx88: convert core-tvaudio into an enum

2010-08-26 Thread Marton Balint
On Mon, 23 Aug 2010, lawrence rust wrote: Using an enum and removing the default case from switch statements accessing the value enables the compiler to emit a warning (enabled with -Wall) when an audio mode is not handled. This highlights an omission in the function

[PATCH] cx88: convert core-tvaudio into an enum

2010-08-23 Thread lawrence rust
Using an enum and removing the default case from switch statements accessing the value enables the compiler to emit a warning (enabled with -Wall) when an audio mode is not handled. This highlights an omission in the function cx88_dsp_detect_stereo_sap() (in cx88-dsp.c) not handling WW_EIAJ and