RE: [PATCH v2 5/7] net:mdio-mux: Add MDIO mux driver for iProc SoCs
From: Pramod Kumar <hidden>
Date: 2016-06-03 13:47:44
Also in:
linux-arm-kernel, lkml, netdev
From: Pramod Kumar <hidden>
Date: 2016-06-03 13:47:44
Also in:
linux-arm-kernel, lkml, netdev
Hi David,
-----Original Message----- From: David Miller [mailto:davem@davemloft.net] Sent: 02 June 2016 04:48 To: pramod.kumar@broadcom.com Cc: robh+dt@kernel.org; pawel.moll@arm.com; mark.rutland@arm.com; ijc+devicetree@hellion.org.uk; galak@codeaurora.org; catalin.marinas@arm.com; will.deacon@arm.com; kishon@ti.com; devicetree@vger.kernel.org; linux-arm-kernel@lists.infradead.org;
bcm-kernel-
feedback-list@broadcom.com; linux-kernel@vger.kernel.org; netdev@vger.kernel.org Subject: Re: [PATCH v2 5/7] net:mdio-mux: Add MDIO mux driver for iProc
SoCs
From: Pramod Kumar <redacted> Date: Tue, 31 May 2016 19:06:39 +0530quoted
+static int iproc_mdio_wait_for_idle(void __iomem *base, bool result) +{ + u32 val; + unsigned int timeout = 1000; /* loop for 1s */Please order your local variable declarations from longest to shortest
line.
quoted
+static int start_miim_ops(void __iomem *base, + u16 phyid, u32 reg, u16 val, u32 op) { + int ret; + u32 param;Likewise.
Sure. I'll take care of this in next patch for all places.
quoted
+static int iproc_mdiomux_read(struct mii_bus *bus, int phyid, int +reg) { + int ret; + struct iproc_mdiomux_desc *md = bus->priv;Likewise.
Sure. I'll take care of this in next patch for all places. Regards, Pramod