Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1199951 > unrolled thread

[PATCH 3.12 000/123] 3.12.46-stable review

Started byJiri Slaby <jslaby@suse.cz>
First post2015-08-04 16:50 +0200
Last post2015-08-04 22:30 +0200
Articles 9 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 3.12 000/123] 3.12.46-stable review Jiri Slaby <jslaby@suse.cz> - 2015-08-04 16:50 +0200
    [PATCH 3.12 001/123] mfd: cros_ec: cleanup: cros_ec.c is GPL licensed, like all the others. Jiri Slaby <jslaby@suse.cz> - 2015-08-04 17:30 +0200
      [PATCH 3.12 003/123] iio: light: hid-sensor-als.c: Fix memory leak in probe() Jiri Slaby <jslaby@suse.cz> - 2015-08-04 17:30 +0200
      [PATCH 3.12 009/123] ALSA: hda_intel: Add Device IDs for Intel Sunrise Point PCH Jiri Slaby <jslaby@suse.cz> - 2015-08-04 17:30 +0200
      [PATCH 3.12 010/123] ALSA: hda_intel: Add DeviceIDs for Sunrise Point-LP Jiri Slaby <jslaby@suse.cz> - 2015-08-04 17:30 +0200
      [PATCH 3.12 013/123] ALSA: hda_intel: apply the Seperate stream_tag for Skylake Jiri Slaby <jslaby@suse.cz> - 2015-08-04 17:30 +0200
    Re: [PATCH 3.12 000/123] 3.12.46-stable review Guenter Roeck <linux@roeck-us.net> - 2015-08-04 21:40 +0200
      Re: [PATCH 3.12 000/123] 3.12.46-stable review Jiri Slaby <jslaby@suse.cz> - 2015-08-05 09:30 +0200
    Re: [PATCH 3.12 000/123] 3.12.46-stable review Shuah Khan <shuahkh@osg.samsung.com> - 2015-08-04 22:30 +0200

#1199951 — [PATCH 3.12 000/123] 3.12.46-stable review

FromJiri Slaby <jslaby@suse.cz>
Date2015-08-04 16:50 +0200
Subject[PATCH 3.12 000/123] 3.12.46-stable review
Message-ID<pTLHu-552-71@gated-at.bofh.it>
This is the start of the stable review cycle for the 3.12.46 release.
There are 123 patches in this series, all will be posted as a response
to this one.  If anyone has any issues with these being applied, please
let me know.

Responses should be made by Thu Aug  6 16:39:14 CEST 2015.
Anything received after that time might be too late.

The whole patch series can be found in one patch at:
	http://kernel.org/pub/linux/kernel/people/jirislaby/stable-review/patch-3.12.46-rc1.xz
and the diffstat can be found below.

thanks,
js

===============


AMAN DEEP (1):
  usb: xhci: Bugfix for NULL pointer deference in xhci_endpoint_init()
    function

Al Viro (3):
  9p: forgetting to cancel request on interrupted zero-copy RPC
  9p: don't leave a half-initialized inode sitting around
  sg_start_req(): make sure that there's not too many elements in iovec

Alan Cox (1):
  i2c: i801: Add PCI ID for Intel Braswell

Alan Stern (1):
  USB: usbfs: allow URBs to be reaped after disconnection

Aleksei Mamlin (1):
  libata: add ATA_HORKAGE_BROKEN_FPDMA_AA quirk for HP 250GB SATA disk
    VB0250EAVER

Alex Deucher (2):
  drm/radeon: take the mode_config mutex when dealing with hpds (v2)
  drm/radeon: add a dpm quirk for Sapphire Radeon R9 270X 2GB GDDR5

Arnd Bergmann (1):
  ideapad: fix software rfkill setting

Arne Fitzenreiter (2):
  libata: add ATA_HORKAGE_NOTRIM
  libata: force disable trim for SuperSSpeed S238

Axel Lin (3):
  ASoC: wm8737: Fixup setting VMID Impedance control register
  ASoC: wm8955: Fix setting wrong register for WM8955_K_8_0_MASK bits
  ASoC: wm8903: Fix define for WM8903_VMID_RES_250K

Bill Richardson (1):
  mfd: cros_ec: cleanup: cros_ec.c is GPL licensed, like all the others.

Bob Moore (1):
  ACPICA: Add "Windows 2013" string to _OSI support.

Boris BREZILLON (1):
  mtd: nand: fix erroneous read_buf call in nand_write_page_raw_syndrome

Chad Dupuis (1):
  qla2xxx: Mark port lost when we receive an RSCN for it.

Chris Metcalf (1):
  __bitmap_parselist: fix bug in empty string handling

Chris Wilson (1):
  agp/intel: Fix typo in needs_ilk_vtd_wa()

Christoffer Dall (1):
  arm64: Don't report clear pmds and puds as huge

Chuck Lever (1):
  NFS: Fix size of NFSACL SETACL operations

Claudio Cappelli (1):
  USB: option: add 2020:4000 ID

Cyrille Pitchen (1):
  i2c: at91: fix a race condition when using the DMA controller

Damian Eppel (1):
  clocksource: exynos_mct: Avoid blocking calls in the cpu hotplug
    notifier

Dan Carpenter (3):
  drivers/mailbox/omap: make mbox->irq signed for error handling
  ASoC: imx-wm8962: Add a missing error check
  USB: devio: fix a condition in async_completed()

Darrick J. Wong (1):
  ext4: don't retry file block mapping on bigalloc fs with non-extent
    file

Dennis Yang (1):
  dm btree remove: fix bug in redistribute3

Devin Ryles (2):
  ALSA: hda_intel: Add DeviceIDs for Sunrise Point-LP
  i2c: i801: Add DeviceIDs for SunrisePoint LP

Ding Wang (1):
  mmc: card: Fixup request missing in mmc_blk_issue_rw_rq

Dmitry Monakhov (1):
  jbd2: use GFP_NOFS in jbd2_cleanup_journal_tail()

Eric Sandeen (1):
  xfs: fix remote symlinks on V5/CRC filesystems

Eryu Guan (2):
  ext4: be more strict when migrating to non-extent based file
  ext4: correctly migrate a file with a hole at the beginning

Fabio Estevam (3):
  iio: light: hid-sensor-als.c: Fix memory leak in probe()
  iio: gyro: hid-sensor-gyro-3d: Fix memory leak in probe()
  iio: accel: hid-sensor-accel-3d: Fix memory leak in probe()

Felipe Balbi (1):
  usb: musb: host: rely on port_mode to call musb_start()

Felix Fietkau (1):
  ath9k: fix DMA stop sequence for AR9003+

Filipe Manana (2):
  Btrfs: use kmem_cache_free when freeing entry in inode cache
  Btrfs: fix memory leak in the extent_same ioctl

Firo Yang (1):
  md: fix a build warning

Frediano Ziglio (2):
  drm/qxl: Do not cause spice-server to clean our objects
  drm/qxl: Do not leak memory if qxl_release_list_add fails

Haggai Eran (1):
  staging: rtl8712: prevent buffer overrun in recvbuf2recvframe

Hon Ching \\(Vicky\\) Lo (1):
  vTPM: set virtual device before passing to ibmvtpm_reset_crq

Ilya Dryomov (2):
  crush: fix a bug in tree bucket decode
  rbd: use GFP_NOIO in rbd_obj_request_create()

JM Friedt (1):
  iio: DAC: ad5624r_spi: fix bit shift of output data value

James Ralston (1):
  ALSA: hda_intel: Add Device IDs for Intel Sunrise Point PCH

Jan Kara (1):
  reiserfs: Fix use after free in journal teardown

Jan Leupold (1):
  iio: adc: at91_adc: allow to use full range of startup time

Jean Delvare (2):
  i2c: i801: Fix the alignment of the device table
  i2c: i801: Add device ID for Intel Wildcat Point PCH

Jeff Layton (1):
  nfs: increase size of EXCHANGE_ID name string buffer

Joe Perches (1):
  hpfs: hpfs_error: Remove static buffer, use vsprintf extension %pV
    instead

Joe Thornber (2):
  dm space map metadata: fix occasional leak of a metadata block on
    resize
  dm btree: silence lockdep lock inversion in dm_btree_del()

Johannes Thumshirn (1):
  USB: serial: Destroy serial_minors IDR on module exit

John Youn (1):
  usb: dwc3: Reset the transfer resource index on SET_INTERFACE

Joseph Qi (1):
  jbd2: fix ocfs2 corrupt when updating journal superblock fails

Jérôme Glisse (2):
  drm/radeon: compute ring fix hibernation (CI GPU family) v2.
  drm/radeon: SDMA fix hibernation (CI GPU family).

Len Brown (2):
  intel_idle: Broadwell support
  intel_idle: support additional Broadwell model

Libin Yang (5):
  ALSA: hda_intel: apply the Seperate stream_tag for Skylake
  ALSA: hda_intel: apply the Seperate stream_tag for Sunrise Point
  ALSA: hda - add codec ID for Skylake display audio codec
  ALSA: hda/hdmi - apply Haswell fix-ups to Skylake display codec
  ALSA: hda_intel: add AZX_DCAPS_I915_POWERWELL for SKL and BSW

Linus Torvalds (1):
  Fix firmware loader uevent buffer NULL pointer dereference

Lior Amsalem (1):
  dmaengine: mv_xor: bug fix for racing condition in descriptors cleanup

Lukas Czerner (1):
  ext4: fix reservation release on invalidatepage for delalloc fs

Lv Zheng (1):
  ACPICA: Tables: Fix an issue that FACS initialization is performed
    twice

Marcel Holtmann (1):
  Bluetooth: btusb: Fix memory leak in Intel setup routine

Martin K. Petersen (1):
  libata: Do not blacklist Micron M500DC

Martin Schwidefsky (1):
  kexec: allocate the kexec control page with KEXEC_CONTROL_MEMORY_GFP

Mauro Carvalho Chehab (3):
  af9013: Don't accept invalid bandwidth
  s5h1420: fix a buffer overflow when checking userspace params
  cx24116: fix a buffer overflow when checking userspace params

Mengdong Lin (1):
  ALSA: hda - verify pin:cvt connection on preparing a stream for Intel
    HDMI codec

Michal Hocko (1):
  ext4: replace open coded nofail allocation in ext4_free_blocks()

Michal Kazior (1):
  mac80211: prevent possible crypto tx tailroom corruption

Michel Dänzer (1):
  drm/radeon: Don't flush the GART TLB if rdev->gart.ptr == NULL

Mika Westerberg (2):
  gpio/lynxpoint: add new ACPI ID
  i2c: designware: add new ACPI IDs

Mike Christie (1):
  [SCSI] be2iscsi: fix bad if expression

Miklos Szeredi (1):
  fuse: initialize fc->release before calling it

Mikulas Patocka (2):
  libata: increase the timeout when setting transfer mode
  dm stats: fix divide by zero if 'number_of_areas' arg is zero

Nicholas Bellinger (1):
  iscsi-target: Convert iscsi_thread_set usage to kthread.h

Olga Kornievskaia (1):
  fixing infinite OPEN loop in 4.0 stateid recovery

Pali Rohár (1):
  dell-laptop: Fix allocating & freeing SMI buffer page

Paolo Bonzini (1):
  kvm: x86: fix kvm_apic_has_events to check for NULL pointer

Peter Sanford (1):
  USB: cp210x: add ID for Aruba Networks controllers

Rafal Redzimski (1):
  ALSA: hda_controller: Separate stream_tag for input and output
    streams.

Richard Fitzgerald (1):
  ASoC: arizona: Fix noise generator gain TLV

Sagi Grimberg (2):
  iser-target: Fix possible deadlock in RDMA_CM connection error
  iser-target: release stale iser connections

Steven Rostedt (Red Hat) (3):
  tracing/filter: Do not WARN on operand count going below zero
  tracing/filter: Do not allow infix to exceed end of string
  tracing: Have branch tracer use recursive field of task struct

Stevens, Nick (1):
  hwmon: (mcp3021) Fix broken output scaling

Subbaraya Sundeep Bhatta (2):
  usb: dwc3: gadget: return error if command sent to DGCMD register
    fails
  usb: dwc3: gadget: return error if command sent to DEPCMD register
    fails

Takashi Iwai (5):
  ALSA: hda - Add dock pin setups for Thinkpad T440
  ALSA: hda - Treat zero connection as non-error
  ALSA: usb-audio: Resume mixer values properly
  ALSA: usb-audio: Save mixer status only once at suspend
  ALSA: usb-audio: Fix deadlocks at resuming

Theodore Ts'o (2):
  ext4: fix race between truncate and __ext4_journalled_writepage()
  ext4: call sync_blockdev() before invalidate_bdev() in put_super()

Tomas Winkler (1):
  mmc: block: Add missing mmc_blk_put() in power_ro_lock_show()

Trond Myklebust (1):
  SUNRPC: Fix a memory leak in the backchannel code

Uwe Kleine-König (1):
  watchdog: omap: assert the counter being stopped before reprogramming

Vasily Averin (1):
  security_syslog() should be called once only

Zhao Junwang (1):
  drm: add a check for x/y in drm_mode_setcrtc

Zidan Wang (1):
  ASoC: wm8960: the enum of "DAC Polarity" should be wm8960_enum[1]

james.d.ralston@intel.com (1):
  i2c: i801: Add Device IDs for Intel Sunrise Point PCH

 Documentation/i2c/busses/i2c-i801                  |   3 +
 arch/arm64/mm/hugetlbpage.c                        |   4 +-
 arch/s390/include/asm/kexec.h                      |   3 +
 arch/x86/kvm/lapic.h                               |   2 +-
 drivers/acpi/acpica/utosi.c                        |   1 +
 drivers/acpi/acpica/utxfinit.c                     |  10 +-
 drivers/ata/libata-core.c                          |  11 +-
 drivers/ata/libata-scsi.c                          |   3 +-
 drivers/base/firmware_class.c                      |  16 ++-
 drivers/block/rbd.c                                |   4 +-
 drivers/bluetooth/btusb.c                          |   2 +
 drivers/char/agp/intel-gtt.c                       |   2 +-
 drivers/char/tpm/tpm_ibmvtpm.c                     |   5 +-
 drivers/clocksource/exynos_mct.c                   |  43 ++++--
 drivers/dma/mv_xor.c                               |  72 ++++++----
 drivers/dma/mv_xor.h                               |   1 +
 drivers/gpio/gpio-lynxpoint.c                      |   1 +
 drivers/gpu/drm/drm_crtc.c                         |   7 +-
 drivers/gpu/drm/qxl/qxl_cmd.c                      |   1 +
 drivers/gpu/drm/qxl/qxl_ioctl.c                    |   4 +-
 drivers/gpu/drm/radeon/cik.c                       |  34 +++++
 drivers/gpu/drm/radeon/cik_sdma.c                  |  11 ++
 drivers/gpu/drm/radeon/radeon_gart.c               |  12 +-
 drivers/gpu/drm/radeon/radeon_irq_kms.c            |   2 +
 drivers/gpu/drm/radeon/si_dpm.c                    |   1 +
 drivers/hwmon/mcp3021.c                            |  14 +-
 drivers/i2c/busses/Kconfig                         |   3 +
 drivers/i2c/busses/i2c-at91.c                      |  70 +++++++---
 drivers/i2c/busses/i2c-designware-platdrv.c        |   2 +
 drivers/i2c/busses/i2c-i801.c                      | 147 +++++++++++----------
 drivers/idle/intel_idle.c                          |  71 +++++++++-
 drivers/iio/accel/hid-sensor-accel-3d.c            |  13 +-
 drivers/iio/adc/at91_adc.c                         |   2 +-
 drivers/iio/dac/ad5624r_spi.c                      |   4 +-
 drivers/iio/gyro/hid-sensor-gyro-3d.c              |  13 +-
 drivers/iio/light/hid-sensor-als.c                 |  12 +-
 drivers/infiniband/ulp/isert/ib_isert.c            |  32 ++++-
 drivers/mailbox/omap-mbox.h                        |   2 +-
 drivers/md/dm-stats.c                              |   2 +
 drivers/md/md.c                                    |   2 +-
 drivers/md/persistent-data/dm-btree-remove.c       |   6 +-
 drivers/md/persistent-data/dm-btree.c              |   2 +-
 drivers/md/persistent-data/dm-space-map-metadata.c |  50 ++++---
 drivers/media/dvb-frontends/af9013.c               |   4 +
 drivers/media/dvb-frontends/cx24116.c              |   8 +-
 drivers/media/dvb-frontends/s5h1420.c              |   2 +-
 drivers/mfd/cros_ec.c                              |   3 +
 drivers/mmc/card/block.c                           |  10 +-
 drivers/mtd/nand/nand_base.c                       |   2 +-
 drivers/net/wireless/ath/ath9k/main.c              |  12 +-
 drivers/platform/x86/dell-laptop.c                 |   8 +-
 drivers/platform/x86/ideapad-laptop.c              |   2 +-
 drivers/scsi/be2iscsi/be_main.c                    |   2 +-
 drivers/scsi/qla2xxx/qla_isr.c                     |  17 ++-
 drivers/scsi/sg.c                                  |   3 +
 drivers/staging/rtl8712/rtl8712_recv.c             |   3 +-
 drivers/target/iscsi/iscsi_target.c                | 104 +++++++--------
 drivers/target/iscsi/iscsi_target_core.h           |   7 +
 drivers/target/iscsi/iscsi_target_erl0.c           |  13 +-
 drivers/target/iscsi/iscsi_target_login.c          |  59 ++++++++-
 drivers/usb/core/devio.c                           |  65 +++++----
 drivers/usb/dwc3/ep0.c                             |   4 +
 drivers/usb/dwc3/gadget.c                          |   4 +
 drivers/usb/host/xhci-mem.c                        |   2 +-
 drivers/usb/musb/musb_virthub.c                    |   4 +-
 drivers/usb/serial/cp210x.c                        |   1 +
 drivers/usb/serial/option.c                        |   1 +
 drivers/usb/serial/usb-serial.c                    |   1 +
 drivers/watchdog/omap_wdt.c                        |   7 +
 fs/9p/vfs_inode.c                                  |   3 +-
 fs/9p/vfs_inode_dotl.c                             |   3 +-
 fs/btrfs/inode-map.c                               |   2 +-
 fs/btrfs/ioctl.c                                   |   3 +-
 fs/ext4/indirect.c                                 |   2 +-
 fs/ext4/inode.c                                    |  38 +++++-
 fs/ext4/mballoc.c                                  |  16 +--
 fs/ext4/migrate.c                                  |  17 ++-
 fs/ext4/super.c                                    |   1 +
 fs/fuse/inode.c                                    |   2 +-
 fs/hpfs/super.c                                    |  11 +-
 fs/jbd2/checkpoint.c                               |   7 +-
 fs/jbd2/journal.c                                  |  38 +++++-
 fs/nfs/nfs3xdr.c                                   |   2 +-
 fs/nfs/nfs4state.c                                 |   2 +
 fs/reiserfs/journal.c                              |  21 ++-
 fs/reiserfs/super.c                                |   6 +-
 fs/xfs/xfs_symlink.c                               |   2 +-
 include/acpi/actypes.h                             |   1 +
 include/linux/jbd2.h                               |   4 +-
 include/linux/kexec.h                              |   4 +
 include/linux/libata.h                             |   1 +
 include/linux/nfs_xdr.h                            |   2 +-
 include/uapi/linux/usbdevice_fs.h                  |   3 +-
 kernel/kexec.c                                     |   2 +-
 kernel/printk/printk.c                             |  11 +-
 kernel/trace/trace.h                               |   1 +
 kernel/trace/trace_branch.c                        |  17 ++-
 kernel/trace/trace_events_filter.c                 |  10 +-
 lib/bitmap.c                                       |  17 +--
 net/9p/client.c                                    |   3 +-
 net/ceph/osdmap.c                                  |   2 +-
 net/mac80211/main.c                                |   3 +
 net/sunrpc/backchannel_rqst.c                      |   2 +-
 sound/pci/hda/hda_codec.c                          |   2 +-
 sound/pci/hda/hda_intel.c                          |  42 +++++-
 sound/pci/hda/patch_hdmi.c                         |  38 +++++-
 sound/pci/hda/patch_realtek.c                      |  15 ++-
 sound/soc/codecs/wm5102.c                          |   2 +-
 sound/soc/codecs/wm5110.c                          |   2 +-
 sound/soc/codecs/wm8737.c                          |   6 +-
 sound/soc/codecs/wm8903.h                          |   2 +-
 sound/soc/codecs/wm8955.c                          |   2 +-
 sound/soc/codecs/wm8960.c                          |   2 +-
 sound/soc/codecs/wm8997.c                          |   2 +-
 sound/soc/fsl/imx-wm8962.c                         |   2 +-
 sound/usb/card.c                                   |  28 +++-
 sound/usb/mixer.c                                  |  99 +++++++++++---
 sound/usb/mixer.h                                  |   7 +-
 sound/usb/usbaudio.h                               |   1 +
 119 files changed, 1098 insertions(+), 463 deletions(-)

-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1200072 — [PATCH 3.12 001/123] mfd: cros_ec: cleanup: cros_ec.c is GPL licensed, like all the others.

FromJiri Slaby <jslaby@suse.cz>
Date2015-08-04 17:30 +0200
Subject[PATCH 3.12 001/123] mfd: cros_ec: cleanup: cros_ec.c is GPL licensed, like all the others.
Message-ID<pTLHr-552-3@gated-at.bofh.it>
In reply to#1199951
From: Bill Richardson <wfrichar@chromium.org>

3.12-stable review patch.  If anyone has any objections, please let me know.

===============

commit a865a589144da6dbf26750b7193a9748da159305 upstream.

This module has always been GPL licensed. It was just missing the explicit
declaration to avoid tainting the kernel.

Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
---
 drivers/mfd/cros_ec.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/mfd/cros_ec.c b/drivers/mfd/cros_ec.c
index 1f36885d674b..e8e285c28767 100644
--- a/drivers/mfd/cros_ec.c
+++ b/drivers/mfd/cros_ec.c
@@ -184,3 +184,6 @@ int cros_ec_resume(struct cros_ec_device *ec_dev)
 EXPORT_SYMBOL(cros_ec_resume);
 
 #endif
+
+MODULE_LICENSE("GPL");
+MODULE_DESCRIPTION("ChromeOS EC core driver");
-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1200073 — [PATCH 3.12 003/123] iio: light: hid-sensor-als.c: Fix memory leak in probe()

FromJiri Slaby <jslaby@suse.cz>
Date2015-08-04 17:30 +0200
Subject[PATCH 3.12 003/123] iio: light: hid-sensor-als.c: Fix memory leak in probe()
Message-ID<pTMkb-65J-35@gated-at.bofh.it>
In reply to#1200072
From: Fabio Estevam <fabio.estevam@freescale.com>

3.12-stable review patch.  If anyone has any objections, please let me know.

===============

commit 9ecdbed7903921f29adae63a3155814b453e7186 upstream.

'channels' is allocated via kmemdup and it is never freed in the
subsequent error paths.

Use 'indio_dev->channels' directly instead, so that we avoid such
memory leak problem.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Cc: Oliver Neukum <ONeukum@suse.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
---
 drivers/iio/light/hid-sensor-als.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/iio/light/hid-sensor-als.c b/drivers/iio/light/hid-sensor-als.c
index c104bda78c74..fe5441c543a3 100644
--- a/drivers/iio/light/hid-sensor-als.c
+++ b/drivers/iio/light/hid-sensor-als.c
@@ -239,7 +239,6 @@ static int hid_als_probe(struct platform_device *pdev)
 	struct iio_dev *indio_dev;
 	struct als_state *als_state;
 	struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data;
-	struct iio_chan_spec *channels;
 
 	indio_dev = devm_iio_device_alloc(&pdev->dev, sizeof(struct als_state));
 	if (!indio_dev)
@@ -257,20 +256,21 @@ static int hid_als_probe(struct platform_device *pdev)
 		return ret;
 	}
 
-	channels = kmemdup(als_channels, sizeof(als_channels), GFP_KERNEL);
-	if (!channels) {
+	indio_dev->channels = kmemdup(als_channels,
+				      sizeof(als_channels), GFP_KERNEL);
+	if (!indio_dev->channels) {
 		dev_err(&pdev->dev, "failed to duplicate channels\n");
 		return -ENOMEM;
 	}
 
-	ret = als_parse_report(pdev, hsdev, channels,
-				HID_USAGE_SENSOR_ALS, als_state);
+	ret = als_parse_report(pdev, hsdev,
+			       (struct iio_chan_spec *)indio_dev->channels,
+			       HID_USAGE_SENSOR_ALS, als_state);
 	if (ret) {
 		dev_err(&pdev->dev, "failed to setup attributes\n");
 		goto error_free_dev_mem;
 	}
 
-	indio_dev->channels = channels;
 	indio_dev->num_channels =
 				ARRAY_SIZE(als_channels);
 	indio_dev->dev.parent = &pdev->dev;
-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1200074 — [PATCH 3.12 009/123] ALSA: hda_intel: Add Device IDs for Intel Sunrise Point PCH

FromJiri Slaby <jslaby@suse.cz>
Date2015-08-04 17:30 +0200
Subject[PATCH 3.12 009/123] ALSA: hda_intel: Add Device IDs for Intel Sunrise Point PCH
Message-ID<pTMkb-65J-37@gated-at.bofh.it>
In reply to#1200072
From: James Ralston <james.d.ralston@intel.com>

3.12-stable review patch.  If anyone has any objections, please let me know.

===============

commit c8b00fd2f4c504a564adcad5b8bd6952ab850b02 upstream.

This patch adds the HD Audio Device IDs for the Intel Sunrise Point PCH.

[the item position rearranged by tiwai]

Signed-off-by: James Ralston <james.d.ralston@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
---
 sound/pci/hda/hda_intel.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 3e57cfcf08e2..37b3f9640184 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -170,6 +170,7 @@ MODULE_SUPPORTED_DEVICE("{{Intel, ICH6},"
 			 "{Intel, LPT},"
 			 "{Intel, LPT_LP},"
 			 "{Intel, WPT_LP},"
+			 "{Intel, SPT},"
 			 "{Intel, HPT},"
 			 "{Intel, PBG},"
 			 "{Intel, SCH},"
@@ -4063,6 +4064,9 @@ static DEFINE_PCI_DEVICE_TABLE(azx_ids) = {
 	/* Wildcat Point-LP */
 	{ PCI_DEVICE(0x8086, 0x9ca0),
 	  .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH },
+	/* Sunrise Point */
+	{ PCI_DEVICE(0x8086, 0xa170),
+	  .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH },
 	/* Haswell */
 	{ PCI_DEVICE(0x8086, 0x0a0c),
 	  .driver_data = AZX_DRIVER_HDMI | AZX_DCAPS_INTEL_HASWELL },
-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1200076 — [PATCH 3.12 010/123] ALSA: hda_intel: Add DeviceIDs for Sunrise Point-LP

FromJiri Slaby <jslaby@suse.cz>
Date2015-08-04 17:30 +0200
Subject[PATCH 3.12 010/123] ALSA: hda_intel: Add DeviceIDs for Sunrise Point-LP
Message-ID<pTMkb-65J-43@gated-at.bofh.it>
In reply to#1200072
From: Devin Ryles <devin.ryles@intel.com>

3.12-stable review patch.  If anyone has any objections, please let me know.

===============

commit b4565913460cbd7d86c6bd52913dfaa07fa384aa upstream.

This patch adds DeviceIDs for Sunrise Point-LP

Signed-off-by: Devin Ryles <devin.ryles@intel.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
---
 sound/pci/hda/hda_intel.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 37b3f9640184..04ac6a444e2b 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -171,6 +171,7 @@ MODULE_SUPPORTED_DEVICE("{{Intel, ICH6},"
 			 "{Intel, LPT_LP},"
 			 "{Intel, WPT_LP},"
 			 "{Intel, SPT},"
+			 "{Intel, SPT_LP},"
 			 "{Intel, HPT},"
 			 "{Intel, PBG},"
 			 "{Intel, SCH},"
@@ -4067,6 +4068,9 @@ static DEFINE_PCI_DEVICE_TABLE(azx_ids) = {
 	/* Sunrise Point */
 	{ PCI_DEVICE(0x8086, 0xa170),
 	  .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH },
+	/* Sunrise Point-LP */
+	{ PCI_DEVICE(0x8086, 0x9d70),
+	  .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH },
 	/* Haswell */
 	{ PCI_DEVICE(0x8086, 0x0a0c),
 	  .driver_data = AZX_DRIVER_HDMI | AZX_DCAPS_INTEL_HASWELL },
-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1200078 — [PATCH 3.12 013/123] ALSA: hda_intel: apply the Seperate stream_tag for Skylake

FromJiri Slaby <jslaby@suse.cz>
Date2015-08-04 17:30 +0200
Subject[PATCH 3.12 013/123] ALSA: hda_intel: apply the Seperate stream_tag for Skylake
Message-ID<pTMkc-65J-49@gated-at.bofh.it>
In reply to#1200072
From: Libin Yang <libin.yang@intel.com>

3.12-stable review patch.  If anyone has any objections, please let me know.

===============

commit d6795827bd79b28fef1abdaf7e525fcca506b831 upstream.

The total stream number of Skylake's input and output stream
exceeds 15, which will cause some streams do not work because
of the overflow on SDxCTL.STRM field if using the legacy
stream tag allocation method.

This patch uses the new stream tag allocation method by add
the flag AZX_DCAPS_SEPARATE_STREAM_TAG for Skylake platform.

Signed-off-by: Libin Yang <libin.yang@intel.com>
Reviewed-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
---
 sound/pci/hda/hda_intel.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 15375bd9bd68..9bb71f02d848 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -622,6 +622,9 @@ enum {
 	 AZX_DCAPS_COUNT_LPIB_DELAY | AZX_DCAPS_PM_RUNTIME | \
 	 AZX_DCAPS_I915_POWERWELL)
 
+#define AZX_DCAPS_INTEL_SKYLAKE \
+	(AZX_DCAPS_INTEL_PCH | AZX_DCAPS_SEPARATE_STREAM_TAG)
+
 /* quirks for ATI SB / AMD Hudson */
 #define AZX_DCAPS_PRESET_ATI_SB \
 	(AZX_DCAPS_ATI_SNOOP | AZX_DCAPS_NO_TCSEL | \
@@ -4091,7 +4094,7 @@ static DEFINE_PCI_DEVICE_TABLE(azx_ids) = {
 	  .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH },
 	/* Sunrise Point-LP */
 	{ PCI_DEVICE(0x8086, 0x9d70),
-	  .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH },
+	  .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_SKYLAKE },
 	/* Haswell */
 	{ PCI_DEVICE(0x8086, 0x0a0c),
 	  .driver_data = AZX_DRIVER_HDMI | AZX_DCAPS_INTEL_HASWELL },
-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1200242

FromGuenter Roeck <linux@roeck-us.net>
Date2015-08-04 21:40 +0200
Message-ID<pTQe6-3ei-11@gated-at.bofh.it>
In reply to#1199951
On Tue, Aug 04, 2015 at 04:40:12PM +0200, Jiri Slaby wrote:
> This is the start of the stable review cycle for the 3.12.46 release.
> There are 123 patches in this series, all will be posted as a response
> to this one.  If anyone has any issues with these being applied, please
> let me know.
> 
> Responses should be made by Thu Aug  6 16:39:14 CEST 2015.
> Anything received after that time might be too late.
> 
Build results:
	total: 129 pass: 129 fail: 0
Qemu test results:
	total: 42 pass: 42 fail: 0

Details are available at http://server.roeck-us.net:8010/builders.

Guenter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1200477

FromJiri Slaby <jslaby@suse.cz>
Date2015-08-05 09:30 +0200
Message-ID<pU1jb-2Rg-5@gated-at.bofh.it>
In reply to#1200242
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 08/04/2015, 09:33 PM, Guenter Roeck wrote:
> On Tue, Aug 04, 2015 at 04:40:12PM +0200, Jiri Slaby wrote:
>> This is the start of the stable review cycle for the 3.12.46
>> release. There are 123 patches in this series, all will be posted
>> as a response to this one.  If anyone has any issues with these
>> being applied, please let me know.
>> 
>> Responses should be made by Thu Aug  6 16:39:14 CEST 2015. 
>> Anything received after that time might be too late.
>> 
> Build results: total: 129 pass: 129 fail: 0 Qemu test results: 
> total: 42 pass: 42 fail: 0
> 
> Details are available at http://server.roeck-us.net:8010/builders.

On 08/04/2015, 10:29 PM, Shuah Khan wrote:
> Compiled and booted on my test system. No demsg regressions.

Thank you both!

- -- 
js
suse labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJVwbtbAAoJEL0lsQQGtHBJUG8P/0NZqzt5UT9nKpk0jUCrkrq7
KKz2qZEXjEUWak9xD/bdadAkKEREp5Gui3tVM69LenPLjHx1YUJSP8Ieyb2laHC+
SCYhFdte/uEAXHio+XDfT0GCOlVSVICeeM/CKaj3sROog/NWpqzuDBiB6qQ4ZFg3
mNA4bihE7uV7Nudc8i4VtL9kKtDdIeU5R/EvQkHGKT6c0fsnyNl4vHyLqrq0QteP
KzpQOL4qCChmiJYPfOC8oNH4Ya+OG2f7SInuUVEqp7oFJFnFLHlzobwAyfxmXK+y
0U4hcrUaOGXa6bWxV7nG/FKYl8imHlY4SqLj6RVnDg7LJDT6CzoT5cG7NJbykT6L
LVROq0jDfRFQOf+6SqtPM3aqK99sNH2BNi1fCbgqYnQOkuxzZNiMZphEkqoLLLk3
Vi/+UdM719v1Fa0iysssAonlb0DszpHUWnHT2NpUZfjzEUS685E4fG83ue/zuqgo
stidahoCAIZEl1XLfj0zSq3sMW7OC+iGeNjRa9IcEmluyzMInhFhLkNPyQ8ZAB3p
cH0eZBEwuBANZBm+Kp6S3+eb3HbUnPZGz602MAcSz0ydWlzstw/dxibNQJOBYXYA
yj5dS7NqayZywvC1KiD1OR3iX8arvjVFLem51KSmAVfgfzzqZVWmbY7J64J/jPLh
+PdxGW2iLws1epJoFwgm
=rWLG
-----END PGP SIGNATURE-----
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1200272

FromShuah Khan <shuahkh@osg.samsung.com>
Date2015-08-04 22:30 +0200
Message-ID<pTR0u-4tW-7@gated-at.bofh.it>
In reply to#1199951
On 08/04/2015 08:40 AM, Jiri Slaby wrote:
> This is the start of the stable review cycle for the 3.12.46 release.
> There are 123 patches in this series, all will be posted as a response
> to this one.  If anyone has any issues with these being applied, please
> let me know.
> 
> Responses should be made by Thu Aug  6 16:39:14 CEST 2015.
> Anything received after that time might be too late.
> 
> The whole patch series can be found in one patch at:
> 	http://kernel.org/pub/linux/kernel/people/jirislaby/stable-review/patch-3.12.46-rc1.xz
> and the diffstat can be found below.
> 
> thanks,
> js
> 

Compiled and booted on my test system. No demsg regressions.

thanks,
-- Shuah


-- 
Shuah Khan
Sr. Linux Kernel Developer
Open Source Innovation Group
Samsung Research America (Silicon Valley)
shuahkh@osg.samsung.com | (970) 217-8978
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web