[PATCH] net/smsc911x: Correctly configure 16-bit register access from DT
David Miller
davem at davemloft.net
Thu Sep 22 05:18:59 EST 2011
From: Dave Martin <dave.martin at linaro.org>
Date: Tue, 13 Sep 2011 11:49:29 +0100
> The SMSC911X_USE_16BIT needs to be set when using 16-bit register
> access. However, currently no flag is set if the device tree
> doesn't specify 32-bit access, resulting in a BUG() and a non-
> working driver when 16-bit register access is configured for
> smsc911x in the DT.
>
> This patch should set the SMSC911X_USE_16BIT flag in a manner
> consistent with the documented DT bindings.
>
> Signed-off-by: Dave Martin <dave.martin at linaro.org>
Applied to net-next, thanks.
More information about the devicetree-discuss
mailing list