File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -45,23 +45,6 @@ static int acp3x_power_on(void __iomem *acp3x_base)
45
45
return - ETIMEDOUT ;
46
46
}
47
47
48
- static int acp3x_power_off (void __iomem * acp3x_base )
49
- {
50
- u32 val ;
51
- int timeout ;
52
-
53
- rv_writel (ACP_PGFSM_CNTL_POWER_OFF_MASK ,
54
- acp3x_base + mmACP_PGFSM_CONTROL );
55
- timeout = 0 ;
56
- while (++ timeout < 500 ) {
57
- val = rv_readl (acp3x_base + mmACP_PGFSM_STATUS );
58
- if ((val & ACP_PGFSM_STATUS_MASK ) == ACP_POWERED_OFF )
59
- return 0 ;
60
- udelay (1 );
61
- }
62
- return - ETIMEDOUT ;
63
- }
64
-
65
48
static int acp3x_reset (void __iomem * acp3x_base )
66
49
{
67
50
u32 val ;
@@ -115,12 +98,6 @@ static int acp3x_deinit(void __iomem *acp3x_base)
115
98
pr_err ("ACP3x reset failed\n" );
116
99
return ret ;
117
100
}
118
- /* power off */
119
- ret = acp3x_power_off (acp3x_base );
120
- if (ret ) {
121
- pr_err ("ACP3x power off failed\n" );
122
- return ret ;
123
- }
124
101
return 0 ;
125
102
}
126
103
You can’t perform that action at this time.
0 commit comments