]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2ce57c1ad70b60e6fd58ce7357711e805619f10f
treea7ce07492f156bcddb3c9c7f749027345c0fb6cc
parentbeea5f8bd9170d3d0e6476d33bde88d795ce40b0
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