Re: [PATCH] soundwire: debugfs: use controller id instead of link_id

From: Srinivas Kandagatla
Date: Thu Jan 21 2021 - 07:12:09 EST




On 19/01/2021 19:09, Pierre-Louis Bossart wrote:

currently we have
/sys/kernel/debug/soundwire/master-*

Are you suggesting that we have something like this:

/sys/kernel/debug/soundwire/xyz-controller/master-<LINK-ID> ??

Yes this is what I was thinking about.

Vinod/Pierre,

One Question here,

Why is link_id part of "struct sdw_bus", should it not be part of "struct sdw_master_device " ?

Given that "There is one Link per each Master"

--srini