Messages in this thread | | | Subject | Re: [PATCH] interconnect: Add helpers for enabling/disabling a path | From | Akash Asthana <> | Date | Mon, 4 May 2020 14:27:39 +0530 |
| |
Hi Georgi,
On 4/28/2020 2:46 PM, Georgi Djakov wrote: > There is a repeated pattern in multiple drivers where they want to switch > the bandwidth between zero and some other value. This is happening often > in the suspend/resume callbacks. Let's add helper functions to enable and > disable the path, so that callers don't have to take care of remembering > the bandwidth values and handle this in the framework instead. > > With this patch the users can call icc_disable() and icc_enable() to lower > their bandwidth request to zero and then restore it back to it's previous > value.
Thanks for this patch.
Are you planning to add bulk versions of icc_enable/disable APIs?
Regards,
Akash
-- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,\na Linux Foundation Collaborative Project
| |