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

2020-05-07 Thread Georgi Djakov
On 5/4/20 11:57, Akash Asthana wrote: > 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 h

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

2020-05-04 Thread Akash Asthana
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

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

2020-04-28 Thread Georgi Djakov
Hi Matthias, On 4/28/20 18:28, Matthias Kaehlcke wrote: > Hi Georgi, > > On Tue, Apr 28, 2020 at 12:16:50PM +0300, 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 th

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

2020-04-28 Thread Matthias Kaehlcke
Hi Georgi, On Tue, Apr 28, 2020 at 12:16:50PM +0300, 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 a

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

2020-04-28 Thread Georgi Djakov
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 b