drivers, pch_dma: Fix uninitialized var before use
authorLiu Yuan <tailai.ly@taobao.com>
Sat, 2 Apr 2011 06:20:47 +0000 (14:20 +0800)
committerVinod Koul <vinod.koul@intel.com>
Wed, 6 Apr 2011 08:44:56 +0000 (14:14 +0530)
commit364de77831213be20f7f33c39ca1c194593b5c11
tree5ea24b348b211946a1f1d4781f2d3fbecf1dbce8
parent8194145dcc9562387d93054a4fcf79438d3c3e40
drivers, pch_dma: Fix uninitialized var before use

In the function pdc_desc_get(), var 'i' is not
initialized before use. This patch fixes it.

Signed-off-by: Liu Yuan <tailai.ly@taobao.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/pch_dma.c