25 Jan
2013
25 Jan
'13
9:33 a.m.
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 Carpenterdan.carpenter@oracle.com
Static analysis. Untested.
Acked By: Rajeev Kumar rajeev-dlh.kumar@st.com