commit | df6a36fbef32cd7f27b9ce7da22ad16d0b4ed62c | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Sun Sep 25 21:41:14 2011 +0000 |
committer | Wolfgang Denk <wd@denx.de> | Sat Oct 22 00:37:49 2011 +0200 |
tree | 78b5e5b5e8f77cd32d0d1c439d51268fd80aaf11 | |
parent | b0e55d5b5afae64d27c421243e5efbcb3e818649 [diff] |
net: dc2114x: check for apropriate command The code had two paths depending on whether the card was to be accessed from plain memory or the IO region. However the error path checks whether IO region was obtained - twice. Fix up the error path according to the probable intention. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>