summaryrefslogtreecommitdiffstats
path: root/drivers/net/irda
diff options
context:
space:
mode:
authorGovindarajulu Varadarajan <_govind@gmx.com>2014-07-02 15:42:15 +0530
committerDavid S. Miller <davem@davemloft.net>2014-07-07 21:33:46 -0700
commita16a3361927f75e6032df110920c83ca6c5045d3 (patch)
treefa137120fad58594d535c208aebb1d15fd67a240 /drivers/net/irda
parente721f87d806f2a959d6a530be18dabee6097aa79 (diff)
downloadblackbird-obmc-linux-a16a3361927f75e6032df110920c83ca6c5045d3.tar.gz
blackbird-obmc-linux-a16a3361927f75e6032df110920c83ca6c5045d3.zip
enic: fix return values in enic_set_coalesce
enic_set_coalesce() has two problems. * It should return -EINVAL and not -EOPNOTSUPP for invalid coalesce values. * In case of MSIX, enic_set_coalesce return error after applying requested coalescing setting partially. We should either apply all the setting requeste and return success or apply non and return error. * This patch also simplifies the algo. This was introduced by '7c2ce6e60f703 enic: Add support for adaptive interrupt coalescing' These changes were suggested by Ben Hutchings here http://www.spinics.net/lists/netdev/msg283972.html Also change enic driver version. Signed-off-by: Govindarajulu Varadarajan <_govind@gmx.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/irda')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud