ARM: OMAP2+ smsc911x: Fix possible stale smsc911x flags
authorRuss Dill <Russ.Dill@ti.com>
Fri, 23 Mar 2012 09:21:34 +0000 (02:21 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 3 Apr 2012 17:29:12 +0000 (10:29 -0700)
commita0dbf2a726e5387251a567c8531d9fd3e34d2dfb
tree06610edbaf46f1bd3370aee1e0388e44777253e9
parent54da0784e24d955eab5f750a8c7c602aa8d4b4e3
ARM: OMAP2+ smsc911x: Fix possible stale smsc911x flags

If this function is called the first time with flags set, and the
second time without flags set then the leftover flags from the first
called will be used rather than the desired default flags.

Signed-off-by: Russ Dill <russ.dill@ti.com>
Tested-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/gpmc-smsc911x.c