Commit graph

586559 commits

Author SHA1 Message Date
Siddartha Mohanadoss
aae895ce11 iio: qcom-rradc: Update reading battery ID channel
The battery ID channel on the RRADC can be disabled
during initialization. Therefore update the sequence
to enable the channel before enabling the trigger and
continuous mode. After reading the battery ID result
from the RRADC controller, disable the trigger
and disable the channel after conversion request.

CRs-Fixed: 2023991
Change-Id: I461e04175ae351312b68771ef85cd928d5c0e4b1
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
2017-03-23 16:45:37 -07:00
Skylar Chang
b07874c6eb msm: ipa: add retry to channel stop
Add a retry mechanism when trying to stop a producer pipe.
This is to avoid a timeout on stop channel when IPA is busy.

Change-Id: If9e0df976def1195171730624e02c185142e2964
CRs-Fixed: 2024084
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2017-03-23 16:36:32 -07:00
Odelu Kukatla
9c90fd397a msm: msm_bus: initialize the local variable
Initialize the local variable 'ret' which is returned
from the function.

Change-Id: Ie82e74ce55b622db924e353a6ea98323c7642fa6
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
2017-03-23 22:21:27 +05:30
Linux Build Service Account
27489753bf Merge "msm: mdss: add checks to fail solid fill with scaling" 2017-03-23 09:44:50 -07:00
Linux Build Service Account
0a6a4c21ff Merge "ARM: dts: msm: disable core_ctl for SDM630" 2017-03-23 09:44:48 -07:00
Linux Build Service Account
ce0b78dbf1 Merge "sched/core_ctl: Fix state_lock spinlock contention" 2017-03-23 09:44:48 -07:00
Linux Build Service Account
c2f18b4fd0 Merge "drm/msm: Take the mutex before calling msm_gem_new_impl" 2017-03-23 09:44:47 -07:00
Linux Build Service Account
081fe06477 Merge "msm: mdss: dp: fix check for audio support on the sink" 2017-03-23 09:44:46 -07:00
Linux Build Service Account
98c7dad6ff Merge "net: rmnet_data: Add support to configure custom device name" 2017-03-23 09:44:45 -07:00
Linux Build Service Account
e12647abbd Merge "usb: core: Enable xhci irq after starting controller" 2017-03-23 09:44:44 -07:00
Linux Build Service Account
9e50ecf4cf Merge "arm64: kaslr: use callee saved register to preserve SCTLR across C call" 2017-03-23 09:44:43 -07:00
Linux Build Service Account
b23d994e0c Merge "input: keyboard: add syscore_ops support to gpio_key driver" 2017-03-23 09:44:43 -07:00
Linux Build Service Account
a3eacc7296 Merge "devfreq_spdm: Handle spurious interrupts during bootup" 2017-03-23 09:44:42 -07:00
Linux Build Service Account
b66d4121c6 Merge "hwrng: Add quality parameter to msm-rng driver" 2017-03-23 09:44:41 -07:00
Linux Build Service Account
838e1d8348 Merge "f_qc_rndis: Compile rndis.c if CONFIG_USB_F_QCRNDIS is enabled" 2017-03-23 09:44:40 -07:00
Linux Build Service Account
087b2cafc7 Merge "ARM: dts: msm: Add support for speed-bin 2 for MSM8996v3" 2017-03-23 09:44:39 -07:00
Linux Build Service Account
44f8994b44 Merge "ARM: dts: msm: add panel physical dimensions for truly panel" 2017-03-23 09:44:38 -07:00
Linux Build Service Account
e0c1cae42e Merge "ASoC: msm_sdw: Avoid initial SSR notifications at bootup" 2017-03-23 09:44:38 -07:00
Linux Build Service Account
61249ef44b Merge "ASoC: wsa881x: Add mixer control to set WSA PA mute" 2017-03-23 09:44:37 -07:00
Linux Build Service Account
64b780b80c Merge "ASoC: sdm660_cdc: Fix 44.1 clip mute first time after boot" 2017-03-23 09:44:36 -07:00
Linux Build Service Account
de85a911ed Merge "ASoC: swr-wcd: Reduce latency for cold start on speaker" 2017-03-23 09:44:35 -07:00
Linux Build Service Account
f2e9e4fdd3 Merge "ASoC: sdm660_cdc: fix HPH CnP on sdm660 internal codec" 2017-03-23 09:44:35 -07:00
Linux Build Service Account
50c5bf4a56 Merge "ASoC: msm_sdw: Fix random mute on speaker when device switch" 2017-03-23 09:44:34 -07:00
Linux Build Service Account
d5d35b197a Merge "ASoC: msm_sdw: Fix compander register setting for speaker" 2017-03-23 09:44:33 -07:00
Linux Build Service Account
a646f0ad6f Merge "ASoC: wcd-mbhc: Fix list del entry issue on mbhc variable" 2017-03-23 09:44:32 -07:00
Linux Build Service Account
a69882a961 Merge "pinctrl: qcom: correct register offset for lpi_gpio_16/17 on sdm660" 2017-03-23 09:44:32 -07:00
Linux Build Service Account
9b1eeebe92 Merge "ASoC: audio-ext-clk: correct pinctrl info for lpass mclk" 2017-03-23 09:44:31 -07:00
Linux Build Service Account
ab2411c816 Merge "ARM: dts:msm: correct clk setting for native playback on SDM660" 2017-03-23 09:44:30 -07:00
Linux Build Service Account
2edff433a4 Merge "ASoC: wcd-spi: pre-allocate buffers used for transfers" 2017-03-23 09:44:29 -07:00
Linux Build Service Account
3535fcdc1b Merge "ASoC: sdm660_cdc: Fix no headset remove event after SSR" 2017-03-23 09:44:29 -07:00
Linux Build Service Account
0776e27963 Merge "ASoc: msm: remove capture property for SLIMBUS_6 Hostless playback" 2017-03-23 09:44:27 -07:00
Linux Build Service Account
733e887153 Merge "clk: msm: gcc-8996: Add pinctrl clk for ln_bb_clk" 2017-03-23 09:44:27 -07:00
Linux Build Service Account
17aa43536b Merge "clk: msm: clock-gcc-8996: Add additional frequencies for QSPI clock" 2017-03-23 09:44:26 -07:00
Linux Build Service Account
419d25863f Merge "usb: phy: qmp: Add support for fpc re-drive chipset" 2017-03-23 09:44:25 -07:00
Linux Build Service Account
70b1b26572 Merge "ARM: dts: msm: Add fpc re-drive support for SDM630 QRD" 2017-03-23 09:44:24 -07:00
Linux Build Service Account
775eee3cbf Merge "ARM: dts: msm: Add fpc re-drive support for SDM660 QRD" 2017-03-23 09:44:23 -07:00
Linux Build Service Account
1180bf2d24 Merge "ath10k: change log level for unknown wmi event print to debug" 2017-03-23 09:44:23 -07:00
Linux Build Service Account
24a299f33b Merge "iio: adc: tadc: fix leakage problem" 2017-03-23 09:44:22 -07:00
Linux Build Service Account
47577ec76d Merge "msm: camera: cpp: Replace const by macro" 2017-03-23 09:44:17 -07:00
Linux Build Service Account
3ed0c82430 Merge "msm: camera: add description for laser sensor" 2017-03-23 09:44:16 -07:00
Linux Build Service Account
76b2cd2549 Merge "qcom: qnovo: Fix property write out of range errors" 2017-03-23 09:44:13 -07:00
Linux Build Service Account
41bcca59c9 Merge "msm: isp: Fix ping pong mismatch issue" 2017-03-23 09:44:12 -07:00
Linux Build Service Account
7918375ff3 Merge "msm: camera: Add error check for cmd in IOCTL." 2017-03-23 09:44:11 -07:00
Linux Build Service Account
42762d628d Merge "msm: isp: update logic to reject invalid frame" 2017-03-23 09:44:06 -07:00
Linux Build Service Account
edb4127363 Merge "ARM: dts: msm: Set the rate for camss vfe clock on msm8998" 2017-03-23 09:44:05 -07:00
Linux Build Service Account
23c2afd695 Merge "msm: common: set clk rate when rate is INIT_RATE" 2017-03-23 09:44:04 -07:00
Ashish Kumar Dhanotiya
932b3c2ccd msm: wlan: Change EIRP value for country China
Change EIRP value for Country China according to latest Regulatory Sheet.

Change-Id: Ice3d212403f1a34a023e2e003cb55c23b90067ae
CRs-Fixed: 2023783
Signed-off-by: Ashish Kumar Dhanotiya <adhanoti@codeaurora.org>
2017-03-23 16:02:02 +05:30
Blagovest Kolenichev
a4b9c109c2 Merge tag v4.4.55 into branch 'msm-4.4'
refs/heads/tmp-28ec98b:
  Linux 4.4.55
  ext4: don't BUG when truncating encrypted inodes on the orphan list
  dm: flush queued bios when process blocks to avoid deadlock
  nfit, libnvdimm: fix interleave set cookie calculation
  s390/kdump: Use "LINUX" ELF note name instead of "CORE"
  KVM: s390: Fix guest migration for huge guests resulting in panic
  mvsas: fix misleading indentation
  serial: samsung: Continue to work if DMA request fails
  USB: serial: io_ti: fix information leak in completion handler
  USB: serial: io_ti: fix NULL-deref in interrupt callback
  USB: iowarrior: fix NULL-deref in write
  USB: iowarrior: fix NULL-deref at probe
  USB: serial: omninet: fix reference leaks at open
  USB: serial: safe_serial: fix information leak in completion handler
  usb: host: xhci-plat: Fix timeout on removal of hot pluggable xhci controllers
  usb: host: xhci-dbg: HCIVERSION should be a binary number
  usb: gadget: function: f_fs: pass companion descriptor along
  usb: dwc3: gadget: make Set Endpoint Configuration macros safe
  usb: gadget: dummy_hcd: clear usb_gadget region before registration
  powerpc: Emulation support for load/store instructions on LE
  tracing: Add #undef to fix compile error
  MIPS: Netlogic: Fix CP0_EBASE redefinition warnings
  MIPS: DEC: Avoid la pseudo-instruction in delay slots
  mm: memcontrol: avoid unused function warning
  cpmac: remove hopeless #warning
  MIPS: ralink: Remove unused rt*_wdt_reset functions
  MIPS: ralink: Cosmetic change to prom_init().
  mtd: pmcmsp: use kstrndup instead of kmalloc+strncpy
  MIPS: Update lemote2f_defconfig for CPU_FREQ_STAT change
  MIPS: ip22: Fix ip28 build for modern gcc
  MIPS: Update ip27_defconfig for SCSI_DH change
  MIPS: ip27: Disable qlge driver in defconfig
  MIPS: Update defconfigs for NF_CT_PROTO_DCCP/UDPLITE change
  crypto: improve gcc optimization flags for serpent and wp512
  USB: serial: digi_acceleport: fix OOB-event processing
  USB: serial: digi_acceleport: fix OOB data sanity check
  Linux 4.4.54
  drivers: hv: Turn off write permission on the hypercall page
  fat: fix using uninitialized fields of fat_inode/fsinfo_inode
  libceph: use BUG() instead of BUG_ON(1)
  drm/i915/dsi: Do not clear DPOUNIT_CLOCK_GATE_DISABLE from vlv_init_display_clock_gating
  fakelb: fix schedule while atomic
  drm/atomic: fix an error code in mode_fixup()
  drm/ttm: Make sure BOs being swapped out are cacheable
  drm/edid: Add EDID_QUIRK_FORCE_8BPC quirk for Rotel RSX-1058
  drm/ast: Fix AST2400 POST failure without BMC FW or VBIOS
  drm/ast: Call open_key before enable_mmio in POST code
  drm/ast: Fix test for VGA enabled
  drm/amdgpu: add more cases to DCE11 possible crtc mask setup
  mac80211: flush delayed work when entering suspend
  xtensa: move parse_tag_fdt out of #ifdef CONFIG_BLK_DEV_INITRD
  pwm: pca9685: Fix period change with same duty cycle
  nlm: Ensure callback code also checks that the files match
  target: Fix NULL dereference during LUN lookup + active I/O shutdown
  ceph: remove req from unsafe list when unregistering it
  ktest: Fix child exit code processing
  IB/srp: Fix race conditions related to task management
  IB/srp: Avoid that duplicate responses trigger a kernel bug
  IB/IPoIB: Add destination address when re-queue packet
  IB/ipoib: Fix deadlock between rmmod and set_mode
  mnt: Tuck mounts under others instead of creating shadow/side mounts.
  net: mvpp2: fix DMA address calculation in mvpp2_txq_inc_put()
  s390: use correct input data address for setup_randomness
  s390: make setup_randomness work
  s390: TASK_SIZE for kernel threads
  s390/dcssblk: fix device size calculation in dcssblk_direct_access()
  s390/qdio: clear DSCI prior to scanning multiple input queues
  Bluetooth: Add another AR3012 04ca:3018 device
  KVM: VMX: use correct vmcs_read/write for guest segment selector/base
  KVM: s390: Disable dirty log retrieval for UCONTROL guests
  serial: 8250_pci: Add MKS Tenta SCOM-0800 and SCOM-0801 cards
  tty: n_hdlc: get rid of racy n_hdlc.tbuf
  TTY: n_hdlc, fix lockdep false positive
  Linux 4.4.53
  scsi: lpfc: Correct WQ creation for pagesize
  MIPS: IP22: Fix build error due to binutils 2.25 uselessnes.
  MIPS: IP22: Reformat inline assembler code to modern standards.
  powerpc/xmon: Fix data-breakpoint
  dmaengine: ipu: Make sure the interrupt routine checks all interrupts.
  bcma: use (get|put)_device when probing/removing device driver
  md linear: fix a race between linear_add() and linear_congested()
  rtc: sun6i: Switch to the external oscillator
  rtc: sun6i: Add some locking
  NFSv4: fix getacl ERANGE for some ACL buffer sizes
  NFSv4: fix getacl head length estimation
  NFSv4: Fix memory and state leak in _nfs4_open_and_get_state
  nfsd: special case truncates some more
  nfsd: minor nfsd_setattr cleanup
  rtlwifi: rtl8192c-common: Fix "BUG: KASAN:
  rtlwifi: Fix alignment issues
  gfs2: Add missing rcu locking for glock lookup
  rdma_cm: fail iwarp accepts w/o connection params
  RDMA/core: Fix incorrect structure packing for booleans
  Drivers: hv: util: Backup: Fix a rescind processing issue
  Drivers: hv: util: Fcopy: Fix a rescind processing issue
  Drivers: hv: util: kvp: Fix a rescind processing issue
  hv: init percpu_list in hv_synic_alloc()
  hv: allocate synic pages for all present CPUs
  usb: gadget: udc: fsl: Add missing complete function.
  usb: host: xhci: plat: check hcc_params after add hcd
  usb: musb: da8xx: Remove CPPI 3.0 quirk and methods
  w1: ds2490: USB transfer buffers need to be DMAable
  w1: don't leak refcount on slave attach failure in w1_attach_slave_device()
  can: usb_8dev: Fix memory leak of priv->cmd_msg_buffer
  iio: pressure: mpl3115: do not rely on structure field ordering
  iio: pressure: mpl115: do not rely on structure field ordering
  arm/arm64: KVM: Enforce unconditional flush to PoC when mapping to stage-2
  fuse: add missing FR_FORCE
  crypto: testmgr - Pad aes_ccm_enc_tv_template vector
  ath9k: use correct OTP register offsets for the AR9340 and AR9550
  ath9k: fix race condition in enabling/disabling IRQs
  ath5k: drop bogus warning on drv_set_key with unsupported cipher
  target: Fix multi-session dynamic se_node_acl double free OOPs
  target: Obtain se_node_acl->acl_kref during get_initiator_node_acl
  samples/seccomp: fix 64-bit comparison macros
  ext4: return EROFS if device is r/o and journal replay is needed
  ext4: preserve the needs_recovery flag when the journal is aborted
  ext4: fix inline data error paths
  ext4: fix data corruption in data=journal mode
  ext4: trim allocation requests to group size
  ext4: do not polute the extents cache while shifting extents
  ext4: Include forgotten start block on fallocate insert range
  loop: fix LO_FLAGS_PARTSCAN hang
  block/loop: fix race between I/O and set_status
  jbd2: don't leak modified metadata buffers on an aborted journal
  Fix: Disable sys_membarrier when nohz_full is enabled
  sd: get disk reference in sd_check_events()
  scsi: use 'scsi_device_from_queue()' for scsi_dh
  scsi: aacraid: Reorder Adapter status check
  scsi: storvsc: properly set residual data length on errors
  scsi: storvsc: properly handle SRB_ERROR when sense message is present
  scsi: storvsc: use tagged SRB requests if supported by the device
  dm stats: fix a leaked s->histogram_boundaries array
  dm cache: fix corruption seen when using cache > 2TB
  ipc/shm: Fix shmat mmap nil-page protection
  mm: do not access page->mapping directly on page_endio
  mm: vmpressure: fix sending wrong events on underflow
  mm/page_alloc: fix nodes for reclaim in fast path
  iommu/vt-d: Tylersburg isoch identity map check is done too late.
  iommu/vt-d: Fix some macros that are incorrectly specified in intel-iommu
  regulator: Fix regulator_summary for deviceless consumers
  staging: rtl: fix possible NULL pointer dereference
  ALSA: hda - Fix micmute hotkey problem for a lenovo AIO machine
  ALSA: hda - Add subwoofer support for Dell Inspiron 17 7000 Gaming
  ALSA: seq: Fix link corruption by event error handling
  ALSA: ctxfi: Fallback DMA mask to 32bit
  ALSA: timer: Reject user params with too small ticks
  ALSA: hda - fix Lewisburg audio issue
  ALSA: hda/realtek - Cannot adjust speaker's volume on a Dell AIO
  ARM: dts: at91: Enable DMA on sama5d2_xplained console
  ARM: dts: at91: Enable DMA on sama5d4_xplained console
  ARM: at91: define LPDDR types
  media: fix dm1105.c build error
  uvcvideo: Fix a wrong macro
  am437x-vpfe: always assign bpp variable
  MIPS: Handle microMIPS jumps in the same way as MIPS32/MIPS64 jumps
  MIPS: Calculate microMIPS ra properly when unwinding the stack
  MIPS: Fix is_jump_ins() handling of 16b microMIPS instructions
  MIPS: Fix get_frame_info() handling of microMIPS function size
  MIPS: Prevent unaligned accesses during stack unwinding
  MIPS: Clear ISA bit correctly in get_frame_info()
  MIPS: Lantiq: Keep ethernet enabled during boot
  MIPS: OCTEON: Fix copy_from_user fault handling for large buffers
  MIPS: BCM47XX: Fix button inversion for Asus WL-500W
  MIPS: Fix special case in 64 bit IP checksumming.
  samples: move mic/mpssd example code from Documentation
  Linux 4.4.52
  kvm: vmx: ensure VMCS is current while enabling PML
  Revert "usb: chipidea: imx: enable CI_HDRC_SET_NON_ZERO_TTHA"
  rtlwifi: rtl_usb: Fix for URB leaking when doing ifconfig up/down
  block: fix double-free in the failure path of cgwb_bdi_init()
  goldfish: Sanitize the broken interrupt handler
  x86/platform/goldfish: Prevent unconditional loading
  USB: serial: ark3116: fix register-accessor error handling
  USB: serial: opticon: fix CTS retrieval at open
  USB: serial: spcp8x5: fix modem-status handling
  USB: serial: ftdi_sio: fix line-status over-reporting
  USB: serial: ftdi_sio: fix extreme low-latency setting
  USB: serial: ftdi_sio: fix modem-status error handling
  USB: serial: cp210x: add new IDs for GE Bx50v3 boards
  USB: serial: mos7840: fix another NULL-deref at open
  tty: serial: msm: Fix module autoload
  net: socket: fix recvmmsg not returning error from sock_error
  ip: fix IP_CHECKSUM handling
  irda: Fix lockdep annotations in hashbin_delete().
  dccp: fix freeing skb too early for IPV6_RECVPKTINFO
  packet: Do not call fanout_release from atomic contexts
  packet: fix races in fanout_add()
  net/llc: avoid BUG_ON() in skb_orphan()
  blk-mq: really fix plug list flushing for nomerge queues
  rtc: interface: ignore expired timers when enqueuing new timers
  rtlwifi: rtl_usb: Fix missing entry in USB driver's private data
  Linux 4.4.51
  mmc: core: fix multi-bit bus width without high-speed mode
  bcache: Make gc wakeup sane, remove set_task_state()
  ntb_transport: Pick an unused queue
  NTB: ntb_transport: fix debugfs_remove_recursive
  printk: use rcuidle console tracepoint
  ARM: 8658/1: uaccess: fix zeroing of 64-bit get_user()
  futex: Move futex_init() to core_initcall
  drm/dp/mst: fix kernel oops when turning off secondary monitor
  drm/radeon: Use mode h/vdisplay fields to hide out of bounds HW cursor
  Input: elan_i2c - add ELAN0605 to the ACPI table
  Fix missing sanity check in /dev/sg
  scsi: don't BUG_ON() empty DMA transfers
  fuse: fix use after free issue in fuse_dev_do_read()
  siano: make it work again with CONFIG_VMAP_STACK
  vfs: fix uninitialized flags in splice_to_pipe()
  Linux 4.4.50
  l2tp: do not use udp_ioctl()
  ping: fix a null pointer dereference
  packet: round up linear to header len
  net: introduce device min_header_len
  sit: fix a double free on error path
  sctp: avoid BUG_ON on sctp_wait_for_sndbuf
  mlx4: Invoke softirqs after napi_reschedule
  macvtap: read vnet_hdr_size once
  tun: read vnet_hdr_sz once
  tcp: avoid infinite loop in tcp_splice_read()
  ipv6: tcp: add a missing tcp_v6_restore_cb()
  ip6_gre: fix ip6gre_err() invalid reads
  netlabel: out of bound access in cipso_v4_validate()
  ipv4: keep skb->dst around in presence of IP options
  net: use a work queue to defer net_disable_timestamp() work
  tcp: fix 0 divide in __tcp_select_window()
  ipv6: pointer math error in ip6_tnl_parse_tlv_enc_lim()
  ipv6: fix ip6_tnl_parse_tlv_enc_lim()
  can: Fix kernel panic at security_sock_rcv_skb

Conflicts:
	drivers/scsi/sd.c
	drivers/usb/gadget/function/f_fs.c
	drivers/usb/host/xhci-plat.c

CRs-Fixed: 2023471
Change-Id: I396051a8de30271af77b3890d4b19787faa1c31e
Signed-off-by: Blagovest Kolenichev <bkolenichev@codeaurora.org>
2017-03-23 03:22:14 -07:00
Deepak Kumar
7fa081a4e8 Revert "ARM: dts: msm: Enable midframe sampling timer on SDM660"
This reverts commit fbecfd709f ("ARM: dts: msm: Enable midframe
sampling timer on SDM660") to avoid power regression caused in
certain use cases.

Change-Id: Iec274e34532f34c9e8f63600ef144306059d9da4
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
2017-03-23 15:48:07 +05:30
David Collins
a366d8cc5f ARM: dts: msm: add speed bin 1 CPU clock boost frequency for msm8996pro
Update the frequency plan for the MSM8996-Pro CPU clocks in order
to include the new 1996.8 MHz power cluster boost frequency.

Change-Id: I289f5910d21bd0e97ceff39d6ca09ba8b5f2aea4
CRs-Fixed: 1010722
Signed-off-by: David Collins <collinsd@codeaurora.org>
2017-03-23 03:11:26 -07:00