From: Yabin Cui
Date: Fri Aug 09 2019 - 17:54:25 EST
From: Yabin Cui <yabinc@xxxxxxxxxx>
Subject: Re: [PATCH] coresight: Serialize enabling/disabling a link device.
>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.