2021-04-28 20:51:11

by Shubhankar Kuranagatti

[permalink] [raw]
Subject: [PATCH] drivers: phy: phy-xgene.c: Fix alignment of comment

A * has been added at the starting of new line
The closing */ of multi line comment shifted to new line
This is done to maintain code uniformity.

Signed-off-by: Shubhankar Kuranagatti <[email protected]>
---
drivers/phy/phy-xgene.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/phy/phy-xgene.c b/drivers/phy/phy-xgene.c
index f4cd590fbde7..d0f4546648f0 100644
--- a/drivers/phy/phy-xgene.c
+++ b/drivers/phy/phy-xgene.c
@@ -961,7 +961,8 @@ static void xgene_phy_sata_cfg_lanes(struct xgene_phy_ctx *ctx)
serdes_wr(ctx, lane, RXTX_REG1, val);

/* Latch VTT value based on the termination to ground and
- enable TX FIFO */
+ * enable TX FIFO
+ */
serdes_rd(ctx, lane, RXTX_REG2, &val);
val = RXTX_REG2_VTT_ENA_SET(val, 0x1);
val = RXTX_REG2_VTT_SEL_SET(val, 0x1);
--
2.17.1


2021-05-31 07:12:47

by Vinod Koul

[permalink] [raw]
Subject: Re: [PATCH] drivers: phy: phy-xgene.c: Fix alignment of comment

On 28-04-21, 22:25, Shubhankar Kuranagatti wrote:
> A * has been added at the starting of new line
> The closing */ of multi line comment shifted to new line
> This is done to maintain code uniformity.

Applied, thanks

--
~Vinod