ASoC: Use a lower detection rate when monitoring headphones on WM8915

    We only need to increase the detection rate to maximum if we're monitoring
    for button presses as the response times needed for user interaction there
    are much lower.

    Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
    Acked-by: Liam Girdwood <lrg@ti.com>
iosched: prevent aliased requests from starving other I/O

    Hi, Jens,

    If you recall, I posted an RFC patch for this back in July of last year:
    http://lkml.org/lkml/2010/7/13/279

    The basic problem is that a process can issue a never-ending stream of
    async direct I/Os to the same sector on a device, thus starving out
    other I/O in the system (due to the way the alias handling works in both
    cfq and deadline).  The solution I proposed back then was to start
    dispatching from the fifo after a certain number of aliases had been
    dispatched.  Vivek asked why we had to treat aliases differently at all,
    and I never had a good answer.  So, I put together a simple patch which
    allows aliases to be added to the rb tree (it adds them to the right,
    though that doesn't matter as the order isn't guaranteed anyway).  I
    think this is the preferred solution, as it doesn't break up time slices
    in CFQ or batches in deadline.  I've tested it, and it does solve the
    starvation issue.  Let me know what you think.

    Cheers,
    Jeff

    Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
    Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
iwlagn: fix interface combinations

    My patch to advertise interface combinations
    worked by pure luck in the P2P case, but all
    other cases are broken. This is due to a dumb
    mistake in the code that checks what should
    be advertised, fix that.

    Signed-off-by: Johannes Berg <johannes.berg@intel.com>
    Signed-off-by: John W. Linville <linville@tuxdriver.com>
net: 8021q: Add pr_fmt

    Use the current logging style.

    Add #define pr_fmt and remove embedded prefix from formats.

    Not converting the current pr_<level> uses to netdev_<level>
    because all the output here is nicely prefaced with "8021q: ".

    Remove __func__ use from proc registration failure message.

    Signed-off-by: Joe Perches <joe@perches.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
bonding: allow all slave speeds

    No need to check for 10, 100, 1000, 10000 explicitly. Just make this
    generic and check for invalid values only (similar check is in ethtool
    userspace app). This enables correct speed handling for slave devices
    with "nonstandard" speeds.

    Signed-off-by: Jiri Pirko <jpirko@redhat.com>
    Reviewed-by: Nicolas de Pesloüan <nicolas.2p.debian@free.fr>
    Signed-off-by: David S. Miller <davem@davemloft.net>
xhci: Remove some unnecessary casts and tidy some endian swap code

    Some of the recently-added cpu_to_leXX and leXX_to_cpu made things somewhat
    messy; this patch neatens some of these areas, removing unnecessary casts
    in those parts also.  In some places (where Y & Z are constants) a
    comparison of (leXX_to_cpu(X) & Y) == Z has been replaced with
    (X & cpu_to_leXX(Y)) == cpu_to_leXX(Z).  The endian reversal of the
    constants should wash out at compile time.

    Signed-off-by: Matt Evans <matt@ozlabs.org>
    Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
sungem: Spring cleaning and GRO support

    This patch simplifies the logic and locking in sungem significantly:

     - LLTX is gone, all private locks are gone, mutex is gone
     - We don't poll the PHY while the interface is down
     - The above allowed me to get rid of a pile of state flags
       using the proper interface state provided by the networking
       stack when needed and overall simplify the driver a lot
     - Allocate the bulk of RX skbs at init time using GFP_KERNEL
     - Fix a bug where the dev->features were set after register_netdev()
     - Added GRO while at it

    Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
netxen: suppress false lro warning messages

    When interface is down, driver prints false warning messages
    during lro configuration through ethtool.

    Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com>
    Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>