Signed-off-by: liaoao <liaoao@xiaomi.com>
coresight_claim_device will fail when unregister device which has been enabled. device should be the init state when it is unregistered. Signed-off-by: liaoao <liaoao@xiaomi.com>