Skip to content

Commit bba2375

Browse files
authored
Merge pull request edge-core#39 from ec-michael-shih/14_20240418_modify_as4630-54te_cpld_driver_tx_disable
[AS4630-54TE] Fix incorrect value of TX_Disable
2 parents 9e4981d + 826a708 commit bba2375

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/broadcom/sonic-platform-modules-accton/as4630-54te/modules/x86-64-accton-as4630-54te-cpld.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ static ssize_t set_tx_disable(struct device *dev, struct device_attribute *da,
412412
break;
413413
case MODULE_TXDISABLE_51 ... MODULE_TXDISABLE_52:
414414
reg=0x6;
415-
mask=0x1 << (attr->index==MODULE_TXFAULT_51?7:3);
415+
mask=0x1 << (attr->index==MODULE_TXDISABLE_51?7:3);
416416
break;
417417

418418
default:

0 commit comments

Comments
 (0)