Commit 2d49b681 authored by Marek Vasut's avatar Marek Vasut
Browse files

rcar_gen3: drivers: pfc: M3W: Checkpatch cleanup



Checkpatch cleanups of the PFC init code and remaining SoC specific macros.
No functional change.
Signed-off-by: default avatarMarek Vasut <marek.vasut+renesas@gmail.com>
Change-Id: I6d48af4b1d56ef487744f4a58126140bbad28132
parent 99b7aa88
...@@ -626,7 +626,7 @@ static void StartRtDma0_Descriptor(void) ...@@ -626,7 +626,7 @@ static void StartRtDma0_Descriptor(void)
mstpcr_write(CPG_SCMSTPCR0, CPG_MSTPSR0, SCMSTPCR0_RTDMAC); mstpcr_write(CPG_SCMSTPCR0, CPG_MSTPSR0, SCMSTPCR0_RTDMAC);
/* Initialize ch0, Reset Descriptor */ /* Initialize ch0, Reset Descriptor */
mmio_write_32(RTDMAC_RDMCHCLR, ((uint32_t) 1U << RTDMAC_CH)); mmio_write_32(RTDMAC_RDMCHCLR, ((uint32_t)1U << RTDMAC_CH));
mmio_write_32(RTDMAC_RDMCHCRB(RTDMAC_CH), RDMCHCRB_DRST); mmio_write_32(RTDMAC_RDMCHCRB(RTDMAC_CH), RDMCHCRB_DRST);
/* Enable DMA */ /* Enable DMA */
...@@ -665,7 +665,7 @@ static void pfc_reg_write(uint32_t addr, uint32_t data) ...@@ -665,7 +665,7 @@ static void pfc_reg_write(uint32_t addr, uint32_t data)
if (prr == (RCAR_PRODUCT_M3_CUT10)) { if (prr == (RCAR_PRODUCT_M3_CUT10)) {
mmio_write_16(SCIF3_SCFCR, SCFCR_DATA); /* Dummy write */ mmio_write_16(SCIF3_SCFCR, SCFCR_DATA); /* Dummy write */
} }
mmio_write_32((uintptr_t) addr, data); mmio_write_32((uintptr_t)addr, data);
if (prr == (RCAR_PRODUCT_M3_CUT10)) { if (prr == (RCAR_PRODUCT_M3_CUT10)) {
mmio_write_16(SCIF3_SCFCR, SCFCR_DATA); /* Dummy write */ mmio_write_16(SCIF3_SCFCR, SCFCR_DATA); /* Dummy write */
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment