aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500
diff options
context:
space:
mode:
authorvirupaxs <virupax.sadashivpetimath@stericsson.com>2010-03-15 13:55:24 +0530
committerJohn Rigby <john.rigby@linaro.org>2010-09-02 22:44:40 -0600
commitc1d510da775becd22e13a527106aef4acb201e90 (patch)
tree22cd2d7ada601236d0e8d64830b2344377ba2f56 /arch/arm/mach-ux500
parent6d5f937af6128496bd19725f9e38926373c3ddba (diff)
downloadlinux-2.6.34-ux500-c1d510da775becd22e13a527106aef4acb201e90.tar.gz
coverity fixes 18th march
Signed-off-by: virupaxs <virupax.sadashivpetimath@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500')
-rwxr-xr-xarch/arm/mach-ux500/dma_40.c3
-rwxr-xr-xarch/arm/mach-ux500/prcmu-fw.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-ux500/dma_40.c b/arch/arm/mach-ux500/dma_40.c
index a616f592807..37de49281ff 100755
--- a/arch/arm/mach-ux500/dma_40.c
+++ b/arch/arm/mach-ux500/dma_40.c
@@ -3219,6 +3219,9 @@ int stm_dma_residue(int pipe_id)
params = ((void *)
(dma_drv_data->lchan_params_base.log_addr)
+ (info->src_dev_type * 32));
+ else
+ return remaining;
+
remaining =
MEM_READ_BITS(params->dmac_lcsp2, MEM_LCSP2_ECNT_MASK,
MEM_LCSP2_ECNT_POS);
diff --git a/arch/arm/mach-ux500/prcmu-fw.c b/arch/arm/mach-ux500/prcmu-fw.c
index 44208066790..f6a6cdcf3c3 100755
--- a/arch/arm/mach-ux500/prcmu-fw.c
+++ b/arch/arm/mach-ux500/prcmu-fw.c
@@ -1394,9 +1394,6 @@ int prcmu_apply_ap_state_transition(enum ap_pwrst_trans_t transition,
printk(KERN_INFO "u8500-prcm : Woken from Sleep OK\n");
break;
-
- printk(KERN_INFO "TODO: deep sleep \n");
- break;
case APBOOT_TO_APEXECUTE:
break;
default: