summaryrefslogtreecommitdiff
path: root/gxp-debugfs.c
diff options
context:
space:
mode:
authorNeela Chithirala <chithiralan@google.com>2022-03-21 04:33:21 +0000
committerNeela Chithirala <chithiralan@google.com>2022-03-21 04:33:21 +0000
commita739c7f7e74e637cf882fa9ee73dee0aeb4374ee (patch)
tree1aae9b40f31130bdad07184b92e73be61b1e46ea /gxp-debugfs.c
parent8f54b9374e56fd08f990fe2fe4dc8b3bde1c00d2 (diff)
downloadgs201-a739c7f7e74e637cf882fa9ee73dee0aeb4374ee.tar.gz
Merge branch 'gs201-release' to android13-gs-pixel-5.10
* gs201-release: gxp: Allow registering eventfds for mailbox responses Bug: 223917403 gxp: support MUX clock switch in power state api Bug: 222625456 gxp: Add power_flags to the mailbox command IOCTL Bug: 221320387 gxp: support power state with mailbox IOCTL Bug: 220975116 Signed-off-by: Neela Chithirala <chithiralan@google.com> Change-Id: I5ca5d964dcff4121d6a0aa0accf4f8a0ed454111
Diffstat (limited to 'gxp-debugfs.c')
-rw-r--r--gxp-debugfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gxp-debugfs.c b/gxp-debugfs.c
index 480dca2..ef2c072 100644
--- a/gxp-debugfs.c
+++ b/gxp-debugfs.c
@@ -268,8 +268,8 @@ static int gxp_blk_powerstate_set(void *data, u64 val)
return -ENODEV;
}
- if (val >= AUR_DVFS_MIN_STATE) {
- ret = gxp_pm_blk_set_state_acpm(gxp, val);
+ if (val >= AUR_DVFS_MIN_RATE) {
+ ret = gxp_pm_blk_set_rate_acpm(gxp, val);
} else {
ret = -EINVAL;
dev_err(gxp->dev, "Incorrect state %llu\n", val);