Re: [PATCH] interconnect: Add helpers for enabling/disabling a path

From: Akash Asthana
Date: Mon May 04 2020 - 04:58:01 EST


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