diff options
| author | Daode Huang <huangdaode@hisilicon.com> | 2016-06-21 06:56:35 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-06-21 11:51:55 +0300 |
| commit | d8a8371e8ba24e49d8e42d691a0c47e9cfc42cdd (patch) | |
| tree | 27d6c9c60fbacd33191ec3bec7eb9b674632ce80 /tools/perf/scripts/python/compaction-times.py | |
| parent | 454784d85de372991ad2e473d562d4ad31f4502a (diff) | |
| download | linux-d8a8371e8ba24e49d8e42d691a0c47e9cfc42cdd.tar.xz | |
net: hns: bug fix about led control logic when link down
The default driver sets anchor led bit to 0 when link down,
actually, the anchor bit should be set to 1, so fixes it when
link status is down.
Secondly, change the return value of cpld_set_led_id to 0, which
means leave the cpld to control led blink frequece other than the
driver itself.
Signed-off-by: Daode Huang <huangdaode@hisilicon.com>
Signed-off-by: Yisen Zhuang <Yisen.Zhuang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions
