1. 17 5月, 2012 20 次提交
  2. 16 5月, 2012 14 次提交
  3. 15 5月, 2012 6 次提交
    • J
      genirq: export handle_edge_irq() and irq_to_desc() · 3911ff30
      Jiri Kosina 提交于
      Export handle_edge_irq() and irq_to_desc() to modules to allow them to
      do things such as
      
      	__irq_set_handler_locked(...., handle_edge_irq);
      
      This fixes
      
      	ERROR: "handle_edge_irq" [drivers/gpio/gpio-pch.ko] undefined!
      	ERROR: "irq_to_desc" [drivers/gpio/gpio-pch.ko] undefined!
      
      when gpio-pch is being built as a module.
      
      This was introduced by commit df9541a6 ("gpio: pch9: Use proper flow
      type handlers") that added
      
      	__irq_set_handler_locked(d->irq, handle_edge_irq);
      
      but handle_edge_irq() was not exported for modules (and inlined
      __irq_set_handler_locked() requires irq_to_desc() exported as well)
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      3911ff30
    • T
      ALSA: hda/idt - Fix power-map for speaker-pins with some HP laptops · b0791dda
      Takashi Iwai 提交于
      BIOS on some HP laptops don't set the speaker-pins as fixed but expose
      as jacks, and this confuses the driver as if these pins are
      jack-detectable.  As a result, the machine doesn't get sounds from
      speakers because the driver prepares the power-map update via jack
      unsol events which never come up in reality.  The bug was introduced
      in some time in 3.2 for enabling the power-mapping feature.
      
      This patch fixes the problem by replacing the check of the persistent
      power-map bits with a proper is_jack_detectable() call.
      
      Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=43240
      
      Cc: <stable@vger.kernel.org> [v3.2+]
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      b0791dda
    • L
      Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media · b6255ee3
      Linus Torvalds 提交于
      Pull media fixes from Mauro Carvalho Chehab:
       "For a some fix patches for v3.4, including a regression fix at DVB core"
      
      Fix up trivial conflicts in Documentation/feature-removal-schedule.txt
      
      * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media:
        [media] gspca - sonixj: Fix a zero divide in isoc interrupt
        [media] media: videobuf2-dma-contig: include header for exported symbols
        [media] media: videobuf2-dma-contig: quiet sparse noise about plain integer as NULL pointer
        [media] media: vb2-memops: Export vb2_get_vma symbol
        [media] s5p-fimc: Correct memory allocation for VIDIOC_CREATE_BUFS
        [media] s5p-fimc: Fix locking in subdev set_crop op
        [media] dvb_frontend: fix a regression with DVB-S zig-zag
        [media] fintek-cir: change || to &&
        [media] V4L: Schedule V4L2_CID_HCENTER, V4L2_CID_VCENTER controls for removal
        [media] rc: Postpone ISR registration
        [media] marvell-cam: fix an ARM build error
        [media] V4L: soc-camera: protect hosts during probing from overzealous user-space
      b6255ee3
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · d69c5c2c
      Linus Torvalds 提交于
      Pull networking fixes from David Miller:
       "The main purpose of this pull request is to fix up the erroneous
        bonding patch I applied last round.  I meant to apply v4 of the patch
        from Jiri but I applied v3 by accident.  Mea culpa.
      
        Also, eagle eyed Dan Carpenter noticed that openvswitch has one of
        those "X = alloc(); if (!Y)" mistakes, test the proper pointer
        instead."
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net:
        openvswitch: checking wrong variable in queue_userspace_packet()
        bonding: Fix LACPDU rx_dropped commit.
      d69c5c2c
    • J
      Bluetooth: mgmt: Fix device_connected sending order · 671267bf
      Johan Hedberg 提交于
      The mgmt_ev_device_connected signal must be sent before any event
      indications happen for sockets associated with the connection. Otherwise
      e.g. device authorization for the sockets will fail with ENOTCONN as
      user space things that there is no baseband link.
      
      This patch fixes the issue by ensuring that the device_connected event
      if sent (if it hasn't been so already) as soon as the first ACL data
      packet arrives from the remote device.
      Signed-off-by: NJohan Hedberg <johan.hedberg@intel.com>
      Acked-by: NMarcel Holtmann <marcel@holtmann.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      671267bf
    • G
      Bluetooth: notify userspace of security level change · a7d7723a
      Gustavo Padovan 提交于
      It fixes L2CAP socket based security level elevation during a
      connection. The HID profile needs this (for keyboards) and it is the only
      way to achieve the security level elevation when using the management
      interface to talk to the kernel (hence the management enabling patch
      being the one that exposes this issue).
      
      It enables the userspace a security level change when the socket is
      already connected and create a way to notify the socket the result of the
      request. At the moment of the request the socket is made non writable, if
      the request fails the connections closes, otherwise the socket is made
      writable again, POLL_OUT is emmited.
      Signed-off-by: NGustavo Padovan <gustavo@padovan.org>
      Acked-by: NMarcel Holtmann <marcel@holtmann.org>
      Signed-off-by: NJohan Hedberg <johan.hedberg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      a7d7723a