[alsa-devel] [patch] ASoC: dwc: fix support for more than two channels

Rajeev kumar rajeev-dlh.kumar at st.com
Fri Jan 25 09:33:46 CET 2013


On 1/25/2013 12:13 PM, Dan Carpenter wrote:
> here were missing break statements so everything used
> TWO_CHANNEL_SUPPORT.
>
> Also I added a return statement to silence a GCC warning:
>
> 	sound/soc/dwc/designware_i2s.c: In function ‘dw_i2s_hw_params’:
> 	sound/soc/dwc/designware_i2s.c:236:32: warning: ‘ch_reg’ may be
> 		used uninitialized in this function
> 		[-Wmaybe-uninitialized]
>
> Signed-off-by: Dan Carpenter<dan.carpenter at oracle.com>
> ---
> Static analysis.  Untested.

Acked By: Rajeev Kumar <rajeev-dlh.kumar at st.com>


More information about the Alsa-devel mailing list