Re: [PATCH] coresight: Serialize enabling/disabling a link device.

From: Yabin Cui
Date: Fri Aug 09 2019 - 17:59:18 EST


>You may also want to protect the refcount checks below with the same lock, just
>to be consistent.

Good suggestion! I didn't protect it because I found other places using refcnt.
But it turns out they are not link devices.
I have uploaded patch v2.