Re: [PATCH v10 19/24] coresight: cti: don't disable ect device if it's not enabled

2020-09-14 Thread Mathieu Poirier
On Fri, Aug 21, 2020 at 11:44:40AM +0800, Tingwei Zhang wrote: > If associated ect device is not enabled at first place, disable > routine should not be called. Add ect_enabled flag to check whether > ect device is enabled. Fix the issue in below case. Ect device is > not available when associated

[PATCH v10 19/24] coresight: cti: don't disable ect device if it's not enabled

2020-08-20 Thread Tingwei Zhang
If associated ect device is not enabled at first place, disable routine should not be called. Add ect_enabled flag to check whether ect device is enabled. Fix the issue in below case. Ect device is not available when associated coresight device enabled and the association is established after core