interconnect: Show bandwidth for disabled paths as zero in debugfs
authorMatthias Kaehlcke <mka@chromium.org>
Wed, 29 Jul 2020 17:50:12 +0000 (10:50 -0700)
committerGeorgi Djakov <georgi.djakov@linaro.org>
Thu, 3 Sep 2020 07:34:37 +0000 (10:34 +0300)
commitb1910c6b9983817160e04d4e87b2dc1413c5361a
treea7ce07492f156bcddb3c9c7f749027345c0fb6cc
parentf75aef392f869018f78cfedf3c320a6b3fcfda6b
interconnect: Show bandwidth for disabled paths as zero in debugfs

For disabled paths the 'interconnect_summary' in debugfs currently shows
the orginally requested bandwidths. This is confusing, since the bandwidth
requests aren't active. Instead show the bandwidths for disabled
paths/requests as zero.

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Evan Green <evgreen@chromium.org>
Link: https://lore.kernel.org/r/20200729104933.1.If8e80e4c0c7ddf99056f6e726e59505ed4e127f3@changeid
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
drivers/interconnect/core.c