mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
Revert "opp: Increase parsed_static_opps in _of_add_opp_table_v1()"
This reverts commit 4d8d6f71b6 which is
commit 6544abc520f0fff701e9da382110dc29676c683a upstream.
It breaks the API and we don't need it right now in the Android 5.4
tree.
Bug: 161946584
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ic8052fabce04a5d75dc838cc79a2f38b0409de7a
This commit is contained in:
parent
63e6ea10ec
commit
e2247e1988
1 changed files with 0 additions and 4 deletions
|
|
@ -733,10 +733,6 @@ static int _of_add_opp_table_v1(struct device *dev, struct opp_table *opp_table)
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
mutex_lock(&opp_table->lock);
|
||||
opp_table->parsed_static_opps = 1;
|
||||
mutex_unlock(&opp_table->lock);
|
||||
|
||||
val = prop->value;
|
||||
while (nr) {
|
||||
unsigned long freq = be32_to_cpup(val++) * 1000;
|
||||
|
|
|
|||
Loading…
Reference in a new issue