From 73612acb5cd22c311f4f037edbd1dcbb1d686c73 Mon Sep 17 00:00:00 2001 From: Grzegorz Jaszczyk Date: Fri, 23 Mar 2018 16:30:02 +0100 Subject: mvebu: cp110: improve comments No functional change Change-Id: If8d88bef1451c3dd961092108ebde7d00eee5167 Signed-off-by: Grzegorz Jaszczyk Reviewed-on: http://vgitil04.il.marvell.com:8080/52626 Tested-by: iSoC Platform CI Reviewed-by: Igal Liberman --- drivers/marvell/comphy/phy-comphy-cp110.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/marvell/comphy/phy-comphy-cp110.c b/drivers/marvell/comphy/phy-comphy-cp110.c index d32405bc..7eb8379b 100644 --- a/drivers/marvell/comphy/phy-comphy-cp110.c +++ b/drivers/marvell/comphy/phy-comphy-cp110.c @@ -47,11 +47,11 @@ #define COMPHY_MASK(offset, len) (((1 << (len)) - 1) << (offset)) -/* Macro the extract the mode from lane description */ +/* Macro which extracts mode from lane description */ #define COMPHY_GET_MODE(x) (((x) & COMPHY_MODE_MASK) >> COMPHY_MODE_OFFSET) -/* Macro the extract the unit index from lane description */ +/* Macro which extracts unit index from lane description */ #define COMPHY_GET_ID(x) (((x) & COMPHY_UNIT_ID_MASK) >> COMPHY_UNIT_ID_OFFSET) -/* Macro the extract the speed from lane description */ +/* Macro which extracts speed from lane description */ #define COMPHY_GET_SPEED(x) (((x) & COMPHY_SPEED_MASK) >> COMPHY_SPEED_OFFSET) #define COMPHY_SATA_MODE 0x1 @@ -207,7 +207,7 @@ static void mvebu_cp110_comphy_set_phy_selector(uint64_t comphy_base, mmio_write_32(comphy_base + COMMON_SELECTOR_PHY_REG_OFFSET, reg); } -/* Clear PIPE selector - avoid collision with privious configuration */ +/* Clear PIPE selector - avoid collision with previous configuration */ void mvebu_cp110_comphy_clr_pipe_selector(uint64_t comphy_base, uint8_t comphy_index) { uint32_t reg, mask, field; -- cgit