Re: [RFC PATCH 03/14] coresight: tpiu: Use coresight device access abstraction

2020-07-31 Thread Suzuki K Poulose
On 07/29/2020 10:01 PM, Mathieu Poirier wrote: On Wed, Jul 22, 2020 at 06:20:29PM +0100, Suzuki K Poulose wrote: TPIU driver access the device before the coresight device is registered. In other words, before the drvdata->csdev is valid. Thus, we need to make sure that the csdev_access is valid

Re: [RFC PATCH 03/14] coresight: tpiu: Use coresight device access abstraction

2020-07-29 Thread Mathieu Poirier
On Wed, Jul 22, 2020 at 06:20:29PM +0100, Suzuki K Poulose wrote: > TPIU driver access the device before the coresight device > is registered. In other words, before the drvdata->csdev > is valid. Thus, we need to make sure that the csdev_access > is valid for both the invocations. Switch to using

[RFC PATCH 03/14] coresight: tpiu: Use coresight device access abstraction

2020-07-22 Thread Suzuki K Poulose
TPIU driver access the device before the coresight device is registered. In other words, before the drvdata->csdev is valid. Thus, we need to make sure that the csdev_access is valid for both the invocations. Switch to using the csdev_access directly instead of relying on availability of