Commit c64d7b23 authored by Mark Starovoytov's avatar Mark Starovoytov Committed by Jakub Kicinski
Browse files

net: atlantic: remove TPO2 check from A0 code



TPO2 was introduced in B0 only, no reason to check for it in A0 code.

Signed-off-by: default avatarMark Starovoytov <mstarovoitov@marvell.com>
Signed-off-by: default avatarIgor Russkikh <irusskikh@marvell.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 843e1396
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -268,8 +268,7 @@ static int hw_atl_a0_hw_init_tx_path(struct aq_hw_s *self)
	hw_atl_tdm_tx_desc_wr_wb_irq_en_set(self, 1U);

	/* misc */
	aq_hw_write_reg(self, 0x00007040U, ATL_HW_IS_CHIP_FEATURE(self, TPO2) ?
			0x00010000U : 0x00000000U);
	aq_hw_write_reg(self, 0x00007040U, 0x00000000U);
	hw_atl_tdm_tx_dca_en_set(self, 0U);
	hw_atl_tdm_tx_dca_mode_set(self, 0U);