Commit graph

572189 commits

Author SHA1 Message Date
Linux Build Service Account
7becceae23 Merge "net lro: extend LRO to use hardware assists" 2016-07-13 15:44:56 -07:00
Linux Build Service Account
153ff5473d Merge "wil6210: abort P2P search when stopping P2P device" 2016-07-13 15:44:55 -07:00
Linux Build Service Account
497384f02d Merge "sched: break the forever prev_cpu selection preference" 2016-07-13 15:44:54 -07:00
Linux Build Service Account
afc9724015 Merge "msm: camera: isp: Fix RDI stream streamoff issue" 2016-07-13 15:44:52 -07:00
Linux Build Service Account
8013c761da Merge "cnss: Refactor CNSS Platform Driver for better code maintenance" 2016-07-13 15:44:51 -07:00
Linux Build Service Account
a4e4aba7e4 Merge "msm: vidc: pm qos stability fixes for video driver" 2016-07-13 15:44:50 -07:00
Nicholas Troast
e4ef9471ff qcom-charger: qpnp-smb2: enable some irqs as a wakeup source
Parallel charging requires the device to wake up when entering taper
charging state in order to reduce the parallel charger's FCC. Enable
the chg-state-change irq as a wakeup source.

Parallel charging requires the device to wake up when the USB ICL
changes in order to enable or disable. Enable the usbin-icl-change
irq as a wakeup source.

When a change is detected on the Type-C CC pins the device should wake
up to handle the change. Enable the type-c-change irq as a wakeup
source.

When VBUS is detected the device should wake up to adjust the state of
DP/DM to allow for proper APSD. Enable the usbin-plugin irq as a wakeup
source.

When APSD finishes the device should wake up to notify the USB, and PD
drivers. Enable the usbin-src-change irq as a wakeup source.

CRs-Fixed: 1030478
Change-Id: I7cdc08d973b5ea711c877f7f2eabbe0fdbbf6fa0
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
2016-07-13 15:37:15 -07:00
Oleg Perelet
0eabd97c5c msm: kgsl: Disable GPU software clockgating on A540
GPMU & CRC perform more effective idle clock control
than software clock gating.

CRs-Fixed: 973565
Change-Id: Ifd45878a65b7da4167d2caa30b3acffd427ad72e
Signed-off-by: Oleg Perelet <operelet@codeaurora.org>
2016-07-13 13:51:00 -07:00
Oleg Perelet
5684da2651 ARM: dts: msmcobalt: Add control for GPU software clockgating
Add boolean qcom,no-nap entry to GPU dtsi file to control
software clockgating.

CRs-Fixed: 973565
Change-Id: Icf27aa1c09d911eaa242cd753803389e56a05844
Signed-off-by: Oleg Perelet <operelet@codeaurora.org>
2016-07-13 13:49:01 -07:00
Yuanyuan Liu
037f52dea4 icnss: Setup hypervisor permissions for MSA0
Setup hypervisor permissions for MSA0. Only WLAN
hardware has access to MSA0 memory.

CRs-Fixed: 1014777
Change-Id: Ica695e355a82ab9ca1998d656475f94fa2a37904
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
2016-07-13 12:12:43 -07:00
Arun Menon
9c926ce7aa msm: vidc: Fix buffer overflow issue in driver
This change fixes a buffer overflow issue during
venus version write to a local buffer.

CRs-Fixed: 944588

Change-Id: Id97f89debbd8d160a8ef624ae0c1be16c47d3270
Signed-off-by: Arun Menon <avmenon@codeaurora.org>
2016-07-13 12:08:14 -07:00
Hemant Kumar
fa28b0304b usb: dwc3: Fix bug in ep disable operation
__dwc3_gadget_ep_disable API doing memset 0 with size
set to DWC3_TRB_NUM. Number of TRBs allocated for gsi
endpoints are less than DWC3_TRB_NUM. This results in
to memory corruption. Fix this bug by introducing
num_trbs member in dwc3_ep structure to save number of
trbs allocated in a dma pool upon dma pool creation.
Ep disable operation will use num_trbs of a dwc3_ep to
perform memset 0.

Change-Id: I94b5865ca22b4e1fde0d2cd8dcb218906327a916
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-07-13 12:05:40 -07:00
Abhijeet Dharmapurikar
b5538f417b spmi-pmic-arb: change mode callback/ops for v3
The v3 arbiter removes the security checks and moves them to SMMU
drivers outside the scope of this driver. So reset the mode call
back for v3 similar to v1.

Change-Id: I043178382cd90515063d09f526bd3e94f8ed5fc3
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2016-07-13 10:41:19 -07:00
Oleg Perelet
fb1c6ee3ac msm: kgsl: Disable GPU isense clock below nominal power level
By disabling isense clock below nominal level we'll remove
vote for CX rail and save power.

CRs-Fixed: 973565
Change-Id: If4a13b3eca117fc2ff9c32ca3a24eb8b8e70b4fe
Signed-off-by: Oleg Perelet <operelet@codeaurora.org>
2016-07-13 10:04:55 -07:00
Dhoat Harpal
df159d60d8 soc: qcom: glink_smd_xprt: Fix smd close ack for legacy channel
smd_data_ch_close sets local_legacy to false even when close_ack is
not called, this even doesn't allow process_reopen_event to call
close_ack.

smd_data_ch_close set local_legacy to false only when it sends
close_ack, otherwise it will be set to false by process_reopen_event
on sending close_ack.

CRs-Fixed: 1020947
Change-Id: I1353f3a8e625803e6317bc543b7125ce52daa49c
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
2016-07-13 03:45:00 -07:00
Dhoat Harpal
898efa1fa2 soc: qcom: glink_smd_xprt: Fix ssr sync during intent request
Synchronization is absent between SSR and intent request, which
result in dead lock scenerio.

ssr_sync rcu lock is used to synchronize intent request and SSR.

CRs-Fixed: 1025593
Change-Id: I1ac06aace8d79ad92d2b48cfb51e1394ef68906c
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
2016-07-13 03:39:02 -07:00
Taniya Das
382c672526 clk: msm: Add MSM clock config for MSM clock controller
Support MSM clock controller config to allow MSM devices to use the clock
controller.

Change-Id: Iae2cf922e8a69979ea353bf7353304f9be7405ce
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2016-07-12 22:39:17 -07:00
Abhijit Kulkarni
f49f768582 msm: mdss: fix QSEED3 bypass mode and lut cfg issues
This change enables the QSEED3 bypass mode in driver, until now if
scaling was not required driver was falling back to default configuration.
This change checks if scaling is not required on VIG pipes, driver only
programs the pixel extension and configures the bypass mode in QSEED3.
This change also corrects the LUT configurations for separable and
circular filters.

Change-Id: I17c8c3e422fd62feaada978ac2be48f891417db0
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
CRs-Fixed: 1036019, 1039433
2016-07-12 18:11:38 -07:00
Osvaldo Banuelos
8f29cd5e70 ARM: dts: msm: support full Gold cluster frequency plan for msmcobalt
Support cluster frequency scaling up to 2092.8 MHz for the Gold
cluster of the msmcobalt chip. Add the necessary OSM LUT and
expose these frequencies to the CPUfreq device.

CRs-Fixed: 1040128
Change-Id: Ib96cc4bcb47d034d9a314de8c1973f2d55106518
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
2016-07-12 18:09:34 -07:00
Harry Yang
a81e7206ec qcom-charger: smb-lib: fix battery health status
Battery health shows 'good' in the ranges of both cold and
overheat temperatures. This change fixes a bug in its
get_prop function.

CRs-Fixed: 1040848
Change-Id: If6e6f60170cfb4769456de4c4428831a29489da2
Signed-off-by: Harry Yang <harryy@codeaurora.org>
2016-07-12 17:55:10 -07:00
Ping Li
570f2550be msm: mdss: Fix AD backlight configuration
When AD backlight attenuation feature is not enabled, the backlight
send to panel doesn't need to go through the backlight linearization
and inverse linearization.

Also set ad_bl_level to the current panel backlight level when AD
is enabled the first time and reset the ad_bl_level to 0 when AD
is disabled.

Change-Id: If96eccd817ecee6eae5fcc56fda29197b8b9f50d
Signed-off-by: Ping Li <pingli@codeaurora.org>
2016-07-12 15:59:44 -07:00
Aravind Venkateswaran
0730f45df2 ARM: dts: msm: enable qcom,no-smr-check for mmss smmu for msmcobalt
The continuous splash screen use case requires that we don't touch the
MMSS SMR registers during probe. Enable the option for skipping the
check for msmcobalt.

CRs-Fixed: 1037857
Change-Id: I1d522796d1dc0c73f7fe068c0964a9b5d1a09285
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2016-07-12 15:49:39 -07:00
Aravind Venkateswaran
8c2cc950a2 ARM: dts: msm: add proxy vote for BIMC SMMU GDSC for msmcobalt
When continuous splash screen feature is enabled, the display needs to
be kept alive during the kernel boot up. For video mode panels, frame
data needs to be continuously fetched from the framebuffer memory which
requires BIMC SMMU GDSC to remain on.  Add proxy vote for this GDSC to
prevent it from being turned off until the display driver hand off can
be executed.

CRs-Fixed: 1037857
Change-Id: Idef763153cdce4e59684da872520eb0cb0b1434d
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2016-07-12 15:49:35 -07:00
Aravind Venkateswaran
4937604179 clk: msm: mdss: fix calculation of VCO rate during handoff
When continuous splash screen feature is enabled, the DSI PLL
is configured in the bootloader and left on when the kernel boots
up. When the PLL clocks are handed off, the VCO rate needs to be
computed back from the registers. Fix bugs in the current
implementation for calculating the VCO rate.

CRs-Fixed: 1037857
Change-Id: I8905b91f26a66d26959fb109480f0390851cbdb4
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2016-07-12 15:49:29 -07:00
Mayank Rana
5e840b3bc9 usb: gadget: f_gsi: Increase USB GSI OUT TRBs from 7 to 31 for ECM
USB bus suspend with remote wakeup allowed case:
1. SUSPEND interrupt received from controller on USB bus suspend
2. gsi_suspend() blocks ringing of doorbell by USB controller to IPA GSI
and schedule usb_ipa_w work with event EVNT_SUSPEND
3. ipa_work_handler() work handler makes sure that USB GSI interface is
into IDLE state and calls ipa_usb_xdci_suspend() to put IPA GSI related
channel into suspend state and allow turning of IPA's clock
5. ipa_work_handler() decrements PM usage count, allow USB to go into LPM
6. USB controller driver turns off USB clocks and put into LPM

USB bus resume with remote wakeup allowed case:
1. WAKEUP interrupt received from controller on USB bus resume
2. USB controller driver turns on USB clocks
3. gsi_resume() increments PM usage count and schedule usb_ipa_w work with
event EVENT_RESUME
4. ipa_work_handler() work handler calls ipa_usb_xdci_resume() to resume
IPA GSI related channel and turning on IPA's clock
5. ipa_work_handler() unblocks ringing of doorbell by USB controller to
IPA GSI

In above USB bus resume case using specific host with ECM functionality,
host is able to send PING or data packets equal to prepared number of TRBs
(currently 7) on USB EP OUT successfully before above resume step 5 then
GSI ignores rang doorbell as WRITE pointer updating last consumed TRB is
already gone through full cycle. This results into data stall. Hence to fix
this issue increase number of TRBs used with USB OUT endpoint from 7 to 31
for USB ECM function with GSI accelerated path. This helps to have always
pending TRBs with USB controller and ringing of doorbell is not missed by
GSI once above resume step 5 is completed.

Also ECM doesn't support aggregation. Hence fix out aggregation size param.

CRs-Fixed: 1023149
Change-Id: Ife0f265b65fda92a99f5170154da6cb4c6b113b7
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2016-07-12 15:32:10 -07:00
Hemant Kumar
70cd4b34f9 defconfig: msmcortex: Enable USB audio QMI service driver
This allows APPS USB XHCI driver to offload the USB audio
ISOC data transfer to remote processor. USB audio QMI driver
starts a QMI service to communicate with remote processor to
exchange audio stream related information.

Change-Id: Ib771c685b3245878413cd78d20451a0dcfdfda63
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-07-12 14:48:10 -07:00
Oleg Perelet
138ec16eb6 msm: kgsl: Remove ISENSE control code
Remove ISENSE control code from kernel,
GPMU Firmware is doing that now.

Change-Id: I34471bb36248bc47b4b5c4b7f4bc54d6bab6ec28
CRs-Fixed: 973565
Signed-off-by: Oleg Perelet <operelet@codeaurora.org>
2016-07-12 14:45:57 -07:00
Oleg Perelet
bfbf777fb4 ARM: dts: msmcobalt: Enable GPU Turbo on A540
Enable GPU Turbo power level on msmcobalt platform.

CRs-Fixed: 973565
Change-Id: Idce662d8e2fa7b1479372a11f0791cc454847d24
Signed-off-by: Oleg Perelet <operelet@codeaurora.org>
2016-07-12 14:37:05 -07:00
Bryse Flowers
50528f6171 defconfig: arm64: msm: Disable uid statistics
Disable deprecated UID_STATS configuration in
preparation for removing the option from KConfig.

Change-Id: I496093bbc2125afbac58e83e38113af90858f1e7
CRs-Fixed: 1035969
Signed-off-by: Bryse Flowers <bflowers@codeaurora.org>
2016-07-12 13:51:56 -07:00
Yuanyuan Liu
e45a0a68cf icnss: Add support for suspend/resume
Add suspend/resume support in ICNSS driver.

CRs-Fixed: 1040309
Change-Id: I2776af4b633832ea8a930275481593f4b9d3bce3
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
2016-07-12 13:50:53 -07:00
Osvaldo Banuelos
0910ca7c8f ARM: dts: msm: update VDD_APC1 CPR margin adjustments for msmcobalt
Update the open-loop and closed-loop voltage margin adjustments
for the VDD_APC1 rail in agreement with hardware characterization.
For open-loop, add 8 mV margin for LowSVS and 52 mV margin for
Turbo fused corners. For closed-loop, add 50 mV margin for
the Turbo fused corner.

CRs-Fixed: 1039620
Change-Id: Ib4ee0e9432bb6f2916416e2826d5590e98f9d426
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
2016-07-12 13:44:45 -07:00
Ben Romberger
08ebb66927 ASoC: msm: qdsp6v2: Add get for App Type mixer control
Implement get function for App Type mixer control in
pcm and compress driver. Returns app type, ACDB ID,
and sample rate in use for FE ID.

Change-Id: I4972de893a638f2482c37796dd1718628526351d
Signed-off-by: Ben Romberger <bromberg@codeaurora.org>
2016-07-12 12:53:59 -07:00
Stephen Oglesby
acffc8ef06 ASoC: wcd9335: Remove pop on bring-up of noise cancelling headset
In order to reduce an audible pop on bring-up of ANC headset
path, keep AMICs supplying ANC noise data muted and ANC block
in reset until after headset amps are enabled. Also synchronize
the PA enables.

CRs-fixed: 990915
Change-Id: Ifb6b7849ec60fa1b5e3fd56c1d45631af1c18fd8
Signed-off-by: Stephen Oglesby <soglesby@codeaurora.org>
2016-07-12 12:53:51 -07:00
Skylar Chang
3e025accad msm: ipa: exit when hdr proc ctx table is full
Return error when header processing table is full so that ipa
driver does not add infinite number of headers in SW cache.

Change-Id: I97360dec3ec892aab688d332122c75283c3e6cf6
Acked-by: Shihuan Liu <shihuanl@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2016-07-12 11:41:41 -07:00
Skylar Chang
6d79868447 msm: ipa: print resource bandwidth in ipa rm
Print resource bandwidth and total bandwidth in ipa resource
manager for debugging purpose.

Change-Id: Ib639cd850a7cafa5f1176f0fa09efac8ad8738d5
Acked-by: Shihuan Liu <shihuanl@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2016-07-12 11:41:17 -07:00
Runmin Wang
750075feff Merge remote-tracking branch 'origin/tmp-917a9a9133a6' into lsk
* tmp-917a9:
  ARM/vdso: Mark the vDSO code read-only after init
  x86/vdso: Mark the vDSO code read-only after init
  lkdtm: Verify that '__ro_after_init' works correctly
  arch: Introduce post-init read-only memory
  x86/mm: Always enable CONFIG_DEBUG_RODATA and remove the Kconfig option
  mm/init: Add 'rodata=off' boot cmdline parameter to disable read-only kernel mappings
  asm-generic: Consolidate mark_rodata_ro()
  Linux 4.4.6
  ld-version: Fix awk regex compile failure
  target: Drop incorrect ABORT_TASK put for completed commands
  block: don't optimize for non-cloned bio in bio_get_last_bvec()
  MIPS: smp.c: Fix uninitialised temp_foreign_map
  MIPS: Fix build error when SMP is used without GIC
  ovl: fix getcwd() failure after unsuccessful rmdir
  ovl: copy new uid/gid into overlayfs runtime inode
  userfaultfd: don't block on the last VM updates at exit time
  powerpc/powernv: Fix OPAL_CONSOLE_FLUSH prototype and usages
  powerpc/powernv: Add a kmsg_dumper that flushes console output on panic
  powerpc: Fix dedotify for binutils >= 2.26
  Revert "drm/radeon/pm: adjust display configuration after powerstate"
  drm/radeon: Fix error handling in radeon_flip_work_func.
  drm/amdgpu: Fix error handling in amdgpu_flip_work_func.
  Revert "drm/radeon: call hpd_irq_event on resume"
  x86/mm: Fix slow_virt_to_phys() for X86_PAE again
  gpu: ipu-v3: Do not bail out on missing optional port nodes
  mac80211: Fix Public Action frame RX in AP mode
  mac80211: check PN correctly for GCMP-encrypted fragmented MPDUs
  mac80211: minstrel_ht: fix a logic error in RTS/CTS handling
  mac80211: minstrel_ht: set default tx aggregation timeout to 0
  mac80211: fix use of uninitialised values in RX aggregation
  mac80211: minstrel: Change expected throughput unit back to Kbps
  iwlwifi: mvm: inc pending frames counter also when txing non-sta
  can: gs_usb: fixed disconnect bug by removing erroneous use of kfree()
  cfg80211/wext: fix message ordering
  wext: fix message delay/ordering
  ovl: fix working on distributed fs as lower layer
  ovl: ignore lower entries when checking purity of non-directory entries
  ASoC: wm8958: Fix enum ctl accesses in a wrong type
  ASoC: wm8994: Fix enum ctl accesses in a wrong type
  ASoC: samsung: Use IRQ safe spin lock calls
  ASoC: dapm: Fix ctl value accesses in a wrong type
  ncpfs: fix a braino in OOM handling in ncp_fill_cache()
  jffs2: reduce the breakage on recovery from halfway failed rename()
  dmaengine: at_xdmac: fix residue computation
  tracing: Fix check for cpu online when event is disabled
  s390/dasd: fix diag 0x250 inline assembly
  s390/mm: four page table levels vs. fork
  KVM: MMU: fix reserved bit check for ept=0/CR0.WP=0/CR4.SMEP=1/EFER.NX=0
  KVM: MMU: fix ept=0/pte.u=1/pte.w=0/CR0.WP=0/CR4.SMEP=1/EFER.NX=0 combo
  KVM: PPC: Book3S HV: Sanitize special-purpose register values on guest exit
  KVM: s390: correct fprs on SIGP (STOP AND) STORE STATUS
  KVM: VMX: disable PEBS before a guest entry
  kvm: cap halt polling at exactly halt_poll_ns
  PCI: Allow a NULL "parent" pointer in pci_bus_assign_domain_nr()
  ARM: OMAP2+: hwmod: Introduce ti,no-idle dt property
  ARM: dts: dra7: do not gate cpsw clock due to errata i877
  ARM: mvebu: fix overlap of Crypto SRAM with PCIe memory window
  arm64: account for sparsemem section alignment when choosing vmemmap offset
  Linux 4.4.5
  drm/amdgpu: fix topaz/tonga gmc assignment in 4.4 stable
  modules: fix longstanding /proc/kallsyms vs module insertion race.
  drm/i915: refine qemu south bridge detection
  drm/i915: more virtual south bridge detection
  block: get the 1st and last bvec via helpers
  block: check virt boundary in bio_will_gap()
  drm/amdgpu: Use drm_calloc_large for VM page_tables array
  thermal: cpu_cooling: fix out of bounds access in time_in_idle
  i2c: brcmstb: allocate correct amount of memory for regmap
  ubi: Fix out of bounds write in volume update code
  cxl: Fix PSL timebase synchronization detection
  MIPS: traps: Fix SIGFPE information leak from `do_ov' and `do_trap_or_bp'
  MIPS: scache: Fix scache init with invalid line size.
  USB: serial: option: add support for Quectel UC20
  USB: serial: option: add support for Telit LE922 PID 0x1045
  USB: qcserial: add Sierra Wireless EM74xx device ID
  USB: qcserial: add Dell Wireless 5809e Gobi 4G HSPA+ (rev3)
  USB: cp210x: Add ID for Parrot NMEA GPS Flight Recorder
  usb: chipidea: otg: change workqueue ci_otg as freezable
  ALSA: timer: Fix broken compat timer user status ioctl
  ALSA: hdspm: Fix zero-division
  ALSA: hdsp: Fix wrong boolean ctl value accesses
  ALSA: hdspm: Fix wrong boolean ctl value accesses
  ALSA: seq: oss: Don't drain at closing a client
  ALSA: pcm: Fix ioctls for X32 ABI
  ALSA: timer: Fix ioctls for X32 ABI
  ALSA: rawmidi: Fix ioctls X32 ABI
  ALSA: hda - Fix mic issues on Acer Aspire E1-472
  ALSA: ctl: Fix ioctls for X32 ABI
  ALSA: usb-audio: Add a quirk for Plantronics DA45
  adv7604: fix tx 5v detect regression
  dmaengine: pxa_dma: fix cyclic transfers
  Fix directory hardlinks from deleted directories
  jffs2: Fix page lock / f->sem deadlock
  Revert "jffs2: Fix lock acquisition order bug in jffs2_write_begin"
  Btrfs: fix loading of orphan roots leading to BUG_ON
  pata-rb532-cf: get rid of the irq_to_gpio() call
  tracing: Do not have 'comm' filter override event 'comm' field
  ata: ahci: don't mark HotPlugCapable Ports as external/removable
  PM / sleep / x86: Fix crash on graph trace through x86 suspend
  arm64: vmemmap: use virtual projection of linear region
  Adding Intel Lewisburg device IDs for SATA
  writeback: flush inode cgroup wb switches instead of pinning super_block
  block: bio: introduce helpers to get the 1st and last bvec
  libata: Align ata_device's id on a cacheline
  libata: fix HDIO_GET_32BIT ioctl
  drm/amdgpu: return from atombios_dp_get_dpcd only when error
  drm/amdgpu/gfx8: specify which engine to wait before vm flush
  drm/amdgpu: apply gfx_v8 fixes to gfx_v7 as well
  drm/amdgpu/pm: update current crtc info after setting the powerstate
  drm/radeon/pm: update current crtc info after setting the powerstate
  drm/ast: Fix incorrect register check for DRAM width
  target: Fix WRITE_SAME/DISCARD conversion to linux 512b sectors
  iommu/vt-d: Use BUS_NOTIFY_REMOVED_DEVICE in hotplug path
  iommu/amd: Fix boot warning when device 00:00.0 is not iommu covered
  iommu/amd: Apply workaround for ATS write permission check
  arm/arm64: KVM: Fix ioctl error handling
  KVM: x86: fix root cause for missed hardware breakpoints
  vfio: fix ioctl error handling
  Fix cifs_uniqueid_to_ino_t() function for s390x
  CIFS: Fix SMB2+ interim response processing for read requests
  cifs: fix out-of-bounds access in lease parsing
  fbcon: set a default value to blink interval
  kvm: x86: Update tsc multiplier on change.
  mips/kvm: fix ioctl error handling
  parisc: Fix ptrace syscall number and return value modification
  PCI: keystone: Fix MSI code that retrieves struct pcie_port pointer
  block: Initialize max_dev_sectors to 0
  drm/amdgpu: mask out WC from BO on unsupported arches
  btrfs: async-thread: Fix a use-after-free error for trace
  btrfs: Fix no_space in write and rm loop
  Btrfs: fix deadlock running delayed iputs at transaction commit time
  drivers: sh: Restore legacy clock domain on SuperH platforms
  use ->d_seq to get coherency between ->d_inode and ->d_flags
  Linux 4.4.4
  iwlwifi: mvm: don't allow sched scans without matches to be started
  iwlwifi: update and fix 7265 series PCI IDs
  iwlwifi: pcie: properly configure the debug buffer size for 8000
  iwlwifi: dvm: fix WoWLAN
  security: let security modules use PTRACE_MODE_* with bitmasks
  IB/cma: Fix RDMA port validation for iWarp
  x86/irq: Plug vector cleanup race
  x86/irq: Call irq_force_move_complete with irq descriptor
  x86/irq: Remove outgoing CPU from vector cleanup mask
  x86/irq: Remove the cpumask allocation from send_cleanup_vector()
  x86/irq: Clear move_in_progress before sending cleanup IPI
  x86/irq: Remove offline cpus from vector cleanup
  x86/irq: Get rid of code duplication
  x86/irq: Copy vectormask instead of an AND operation
  x86/irq: Check vector allocation early
  x86/irq: Reorganize the search in assign_irq_vector
  x86/irq: Reorganize the return path in assign_irq_vector
  x86/irq: Do not use apic_chip_data.old_domain as temporary buffer
  x86/irq: Validate that irq descriptor is still active
  x86/irq: Fix a race in x86_vector_free_irqs()
  x86/irq: Call chip->irq_set_affinity in proper context
  x86/entry/compat: Add missing CLAC to entry_INT80_32
  x86/mpx: Fix off-by-one comparison with nr_registers
  hpfs: don't truncate the file when delete fails
  do_last(): ELOOP failure exit should be done after leaving RCU mode
  should_follow_link(): validate ->d_seq after having decided to follow
  xen/pcifront: Fix mysterious crashes when NUMA locality information was extracted.
  xen/pciback: Save the number of MSI-X entries to be copied later.
  xen/pciback: Check PF instead of VF for PCI_COMMAND_MEMORY
  xen/scsiback: correct frontend counting
  xen/arm: correctly handle DMA mapping of compound pages
  ARM: at91/dt: fix typo in sama5d2 pinmux descriptions
  ARM: OMAP2+: Fix onenand initialization to avoid filesystem corruption
  do_last(): don't let a bogus return value from ->open() et.al. to confuse us
  kernel/resource.c: fix muxed resource handling in __request_region()
  sunrpc/cache: fix off-by-one in qword_get()
  tracing: Fix showing function event in available_events
  powerpc/eeh: Fix partial hotplug criterion
  KVM: x86: MMU: fix ubsan index-out-of-range warning
  KVM: x86: fix conversion of addresses to linear in 32-bit protected mode
  KVM: x86: fix missed hardware breakpoints
  KVM: arm/arm64: vgic: Ensure bitmaps are long enough
  KVM: async_pf: do not warn on page allocation failures
  of/irq: Fix msi-map calculation for nonzero rid-base
  NFSv4: Fix a dentry leak on alias use
  nfs: fix nfs_size_to_loff_t
  block: fix use-after-free in dio_bio_complete
  bio: return EINTR if copying to user space got interrupted
  i2c: i801: Adding Intel Lewisburg support for iTCO
  phy: core: fix wrong err handle for phy_power_on
  writeback: keep superblock pinned during cgroup writeback association switches
  cgroup: make sure a parent css isn't offlined before its children
  cpuset: make mm migration asynchronous
  PCI/AER: Flush workqueue on device remove to avoid use-after-free
  ARCv2: SMP: Emulate IPI to self using software triggered interrupt
  ARCv2: STAR 9000950267: Handle return from intr to Delay Slot #2
  libata: fix sff host state machine locking while polling
  qla2xxx: Fix stale pointer access.
  spi: atmel: fix gpio chip-select in case of non-DT platform
  target: Fix race with SCF_SEND_DELAYED_TAS handling
  target: Fix remote-port TMR ABORT + se_cmd fabric stop
  target: Fix TAS handling for multi-session se_node_acls
  target: Fix LUN_RESET active TMR descriptor handling
  target: Fix LUN_RESET active I/O handling for ACK_KREF
  ALSA: hda - Fixing background noise on Dell Inspiron 3162
  ALSA: hda - Apply clock gate workaround to Skylake, too
  Revert "workqueue: make sure delayed work run in local cpu"
  workqueue: handle NUMA_NO_NODE for unbound pool_workqueue lookup
  mac80211: Requeue work after scan complete for all VIF types.
  rfkill: fix rfkill_fop_read wait_event usage
  tick/nohz: Set the correct expiry when switching to nohz/lowres mode
  perf stat: Do not clean event's private stats
  cdc-acm:exclude Samsung phone 04e8:685d
  Revert "Staging: panel: usleep_range is preferred over udelay"
  Staging: speakup: Fix getting port information
  sd: Optimal I/O size is in bytes, not sectors
  libceph: don't spam dmesg with stray reply warnings
  libceph: use the right footer size when skipping a message
  libceph: don't bail early from try_read() when skipping a message
  libceph: fix ceph_msg_revoke()
  seccomp: always propagate NO_NEW_PRIVS on tsync
  cpufreq: Fix NULL reference crash while accessing policy->governor_data
  cpufreq: pxa2xx: fix pxa_cpufreq_change_voltage prototype
  hwmon: (ads1015) Handle negative conversion values correctly
  hwmon: (gpio-fan) Remove un-necessary speed_index lookup for thermal hook
  hwmon: (dell-smm) Blacklist Dell Studio XPS 8000
  Thermal: do thermal zone update after a cooling device registered
  Thermal: handle thermal zone device properly during system sleep
  Thermal: initialize thermal zone device correctly
  IB/mlx5: Expose correct maximum number of CQE capacity
  IB/qib: Support creating qps with GFP_NOIO flag
  IB/qib: fix mcast detach when qp not attached
  IB/cm: Fix a recently introduced deadlock
  dmaengine: dw: disable BLOCK IRQs for non-cyclic xfer
  dmaengine: at_xdmac: fix resume for cyclic transfers
  dmaengine: dw: fix cyclic transfer callbacks
  dmaengine: dw: fix cyclic transfer setup
  nfit: fix multi-interface dimm handling, acpi6.1 compatibility
  ACPI / PCI / hotplug: unlock in error path in acpiphp_enable_slot()
  ACPI: Revert "ACPI / video: Add Dell Inspiron 5737 to the blacklist"
  ACPI / video: Add disable_backlight_sysfs_if quirk for the Toshiba Satellite R830
  ACPI / video: Add disable_backlight_sysfs_if quirk for the Toshiba Portege R700
  lib: sw842: select crc32
  uapi: update install list after nvme.h rename
  ideapad-laptop: Add Lenovo Yoga 700 to no_hw_rfkill dmi list
  ideapad-laptop: Add Lenovo ideapad Y700-17ISK to no_hw_rfkill dmi list
  toshiba_acpi: Fix blank screen at boot if transflective backlight is supported
  make sure that freeing shmem fast symlinks is RCU-delayed
  drm/radeon/pm: adjust display configuration after powerstate
  drm/radeon: Don't hang in radeon_flip_work_func on disabled crtc. (v2)
  drm: Fix treatment of drm_vblank_offdelay in drm_vblank_on() (v2)
  drm: Fix drm_vblank_pre/post_modeset regression from Linux 4.4
  drm: Prevent vblank counter bumps > 1 with active vblank clients. (v2)
  drm: No-Op redundant calls to drm_vblank_off() (v2)
  drm/radeon: use post-decrement in error handling
  drm/qxl: use kmalloc_array to alloc reloc_info in qxl_process_single_command
  drm/i915: fix error path in intel_setup_gmbus()
  drm/i915/dsi: don't pass arbitrary data to sideband
  drm/i915/dsi: defend gpio table against out of bounds access
  drm/i915/skl: Don't skip mst encoders in skl_ddi_pll_select()
  drm/i915: Don't reject primary plane windowing with color keying enabled on SKL+
  drm/i915/dp: fall back to 18 bpp when sink capability is unknown
  drm/i915: Make sure DC writes are coherent on flush.
  drm/i915: Init power domains early in driver load
  drm/i915: intel_hpd_init(): Fix suspend/resume reprobing
  drm/i915: Restore inhibiting the load of the default context
  drm: fix missing reference counting decrease
  drm/radeon: hold reference to fences in radeon_sa_bo_new
  drm/radeon: mask out WC from BO on unsupported arches
  drm: add helper to check for wc memory support
  drm/radeon: fix DP audio support for APU with DCE4.1 display engine
  drm/radeon: Add a common function for DFS handling
  drm/radeon: cleaned up VCO output settings for DP audio
  drm/radeon: properly byte swap vce firmware setup
  drm/radeon: clean up fujitsu quirks
  drm/radeon: Fix "slow" audio over DP on DCE8+
  drm/radeon: call hpd_irq_event on resume
  drm/radeon: Fix off-by-one errors in radeon_vm_bo_set_addr
  drm/dp/mst: deallocate payload on port destruction
  drm/dp/mst: Reverse order of MST enable and clearing VC payload table.
  drm/dp/mst: move GUID storage from mgr, port to only mst branch
  drm/dp/mst: Calculate MST PBN with 31.32 fixed point
  drm: Add drm_fixp_from_fraction and drm_fixp2int_ceil
  drm/dp/mst: fix in RAD element access
  drm/dp/mst: fix in MSTB RAD initialization
  drm/dp/mst: always send reply for UP request
  drm/dp/mst: process broadcast messages correctly
  drm/nouveau: platform: Fix deferred probe
  drm/nouveau/disp/dp: ensure sink is powered up before attempting link training
  drm/nouveau/display: Enable vblank irqs after display engine is on again.
  drm/nouveau/kms: take mode_config mutex in connector hotplug path
  drm/amdgpu/pm: adjust display configuration after powerstate
  drm/amdgpu: Don't hang in amdgpu_flip_work_func on disabled crtc.
  drm/amdgpu: use post-decrement in error handling
  drm/amdgpu: fix issue with overlapping userptrs
  drm/amdgpu: hold reference to fences in amdgpu_sa_bo_new (v2)
  drm/amdgpu: remove unnecessary forward declaration
  drm/amdgpu: fix s4 resume
  drm/amdgpu: remove exp hardware support from iceland
  drm/amdgpu: don't load MEC2 on topaz
  drm/amdgpu: drop topaz support from gmc8 module
  drm/amdgpu: pull topaz gmc bits into gmc_v7
  drm/amdgpu: The VI specific EXE bit should only apply to GMC v8.0 above
  drm/amdgpu: iceland use CI based MC IP
  drm/amdgpu: move gmc7 support out of CIK dependency
  drm/amdgpu: no need to load MC firmware on fiji
  drm/amdgpu: fix amdgpu_bo_pin_restricted VRAM placing v2
  drm/amdgpu: fix tonga smu resume
  drm/amdgpu: fix lost sync_to if scheduler is enabled.
  drm/amdgpu: call hpd_irq_event on resume
  drm/amdgpu: Fix off-by-one errors in amdgpu_vm_bo_map
  drm/vmwgfx: respect 'nomodeset'
  drm/vmwgfx: Fix a width / pitch mismatch on framebuffer updates
  drm/vmwgfx: Fix an incorrect lock check
  virtio_pci: fix use after free on release
  virtio_balloon: fix race between migration and ballooning
  virtio_balloon: fix race by fill and leak
  regulator: mt6311: MT6311_REGULATOR needs to select REGMAP_I2C
  regulator: axp20x: Fix GPIO LDO enable value for AXP22x
  clk: exynos: use irqsave version of spin_lock to avoid deadlock with irqs
  cxl: use correct operator when writing pcie config space values
  sparc64: fix incorrect sign extension in sys_sparc64_personality
  EDAC, mc_sysfs: Fix freeing bus' name
  EDAC: Robustify workqueues destruction
  MIPS: Fix buffer overflow in syscall_get_arguments()
  MIPS: Fix some missing CONFIG_CPU_MIPSR6 #ifdefs
  MIPS: hpet: Choose a safe value for the ETIME check
  MIPS: Loongson-3: Fix SMP_ASK_C0COUNT IPI handler
  Revert "MIPS: Fix PAGE_MASK definition"
  cputime: Prevent 32bit overflow in time[val|spec]_to_cputime()
  time: Avoid signed overflow in timekeeping_get_ns()
  Bluetooth: 6lowpan: Fix handling of uncompressed IPv6 packets
  Bluetooth: 6lowpan: Fix kernel NULL pointer dereferences
  Bluetooth: Fix incorrect removing of IRKs
  Bluetooth: Add support of Toshiba Broadcom based devices
  Bluetooth: Use continuous scanning when creating LE connections
  Drivers: hv: vmbus: Fix a Host signaling bug
  tools: hv: vss: fix the write()'s argument: error -> vss_msg
  mmc: sdhci: Allow override of get_cd() called from sdhci_request()
  mmc: sdhci: Allow override of mmc host operations
  mmc: sdhci-pci: Fix card detect race for Intel BXT/APL
  mmc: pxamci: fix again read-only gpio detection polarity
  mmc: sdhci-acpi: Fix card detect race for Intel BXT/APL
  mmc: mmci: fix an ages old detection error
  mmc: core: Enable tuning according to the actual timing
  mmc: sdhci: Fix sdhci_runtime_pm_bus_on/off()
  mmc: mmc: Fix incorrect use of driver strength switching HS200 and HS400
  mmc: sdio: Fix invalid vdd in voltage switch power cycle
  mmc: sdhci: Fix DMA descriptor with zero data length
  mmc: sdhci-pci: Do not default to 33 Ohm driver strength for Intel SPT
  mmc: usdhi6rol0: handle NULL data in timeout
  clockevents/tcb_clksrc: Prevent disabling an already disabled clock
  posix-clock: Fix return code on the poll method's error path
  irqchip/gic-v3-its: Fix double ICC_EOIR write for LPI in EOImode==1
  irqchip/atmel-aic: Fix wrong bit operation for IRQ priority
  irqchip/mxs: Add missing set_handle_irq()
  irqchip/omap-intc: Add support for spurious irq handling
  coresight: checking for NULL string in coresight_name_match()
  dm: fix dm_rq_target_io leak on faults with .request_fn DM w/ blk-mq paths
  dm snapshot: fix hung bios when copy error occurs
  dm space map metadata: remove unused variable in brb_pop()
  tda1004x: only update the frontend properties if locked
  vb2: fix a regression in poll() behavior for output,streams
  gspca: ov534/topro: prevent a division by 0
  si2157: return -EINVAL if firmware blob is too big
  media: dvb-core: Don't force CAN_INVERSION_AUTO in oneshot mode
  rc: sunxi-cir: Initialize the spinlock properly
  namei: ->d_inode of a pinned dentry is stable only for positives
  mei: validate request value in client notify request ioctl
  mei: fix fasync return value on error
  rtlwifi: rtl8723be: Fix module parameter initialization
  rtlwifi: rtl8188ee: Fix module parameter initialization
  rtlwifi: rtl8192se: Fix module parameter initialization
  rtlwifi: rtl8723ae: Fix initialization of module parameters
  rtlwifi: rtl8192de: Fix incorrect module parameter descriptions
  rtlwifi: rtl8192ce: Fix handling of module parameters
  rtlwifi: rtl8192cu: Add missing parameter setup
  rtlwifi: rtl_pci: Fix kernel panic
  locks: fix unlock when fcntl_setlk races with a close
  um: link with -lpthread
  uml: fix hostfs mknod()
  uml: flush stdout before forking
  s390/fpu: signals vs. floating point control register
  s390/compat: correct restore of high gprs on signal return
  s390/dasd: fix performance drop
  s390/dasd: fix refcount for PAV reassignment
  s390/dasd: prevent incorrect length error under z/VM after PAV changes
  s390: fix normalization bug in exception table sorting
  btrfs: initialize the seq counter in struct btrfs_device
  Btrfs: Initialize btrfs_root->highest_objectid when loading tree root and subvolume roots
  Btrfs: fix transaction handle leak on failure to create hard link
  Btrfs: fix number of transaction units required to create symlink
  Btrfs: send, don't BUG_ON() when an empty symlink is found
  btrfs: statfs: report zero available if metadata are exhausted
  Btrfs: igrab inode in writepage
  Btrfs: add missing brelse when superblock checksum fails
  KVM: s390: fix memory overwrites when vx is disabled
  s390/kvm: remove dependency on struct save_area definition
  clocksource/drivers/vt8500: Increase the minimum delta
  genirq: Validate action before dereferencing it in handle_irq_event_percpu()
  mm: numa: quickly fail allocations for NUMA balancing on full nodes
  mm: thp: fix SMP race condition between THP page fault and MADV_DONTNEED
  ocfs2: unlock inode if deleting inode from orphan fails
  drm/i915: shut up gen8+ SDE irq dmesg noise
  iw_cxgb3: Fix incorrectly returning error on success
  spi: omap2-mcspi: Prevent duplicate gpio_request
  drivers: android: correct the size of struct binder_uintptr_t for BC_DEAD_BINDER_DONE
  USB: option: add "4G LTE usb-modem U901"
  USB: option: add support for SIM7100E
  USB: cp210x: add IDs for GE B650V3 and B850V3 boards
  usb: dwc3: Fix assignment of EP transfer resources
  can: ems_usb: Fix possible tx overflow
  dm thin: fix race condition when destroying thin pool workqueue
  bcache: Change refill_dirty() to always scan entire disk if necessary
  bcache: prevent crash on changing writeback_running
  bcache: allows use of register in udev to avoid "device_busy" error.
  bcache: unregister reboot notifier if bcache fails to unregister device
  bcache: fix a leak in bch_cached_dev_run()
  bcache: clear BCACHE_DEV_UNLINK_DONE flag when attaching a backing device
  bcache: Add a cond_resched() call to gc
  bcache: fix a livelock when we cause a huge number of cache misses
  lib/ucs2_string: Correct ucs2 -> utf8 conversion
  efi: Add pstore variables to the deletion whitelist
  efi: Make efivarfs entries immutable by default
  efi: Make our variable validation list include the guid
  efi: Do variable name validation tests in utf8
  efi: Use ucs2_as_utf8 in efivarfs instead of open coding a bad version
  lib/ucs2_string: Add ucs2 -> utf8 helper functions
  ARM: 8457/1: psci-smp is built only for SMP
  drm/gma500: Use correct unref in the gem bo create function
  devm_memremap: Fix error value when memremap failed
  KVM: s390: fix guest fprs memory leak
  arm64: errata: Add -mpc-relative-literal-loads to build flags
  ARM: debug-ll: fix BCM63xx entry for multiplatform
  ext4: fix bh->b_state corruption
  sctp: Fix port hash table size computation
  unix_diag: fix incorrect sign extension in unix_lookup_by_ino
  tipc: unlock in error path
  rtnl: RTM_GETNETCONF: fix wrong return value
  IFF_NO_QUEUE: Fix for drivers not calling ether_setup()
  tcp/dccp: fix another race at listener dismantle
  route: check and remove route cache when we get route
  net_sched fix: reclassification needs to consider ether protocol changes
  pppoe: fix reference counting in PPPoE proxy
  l2tp: Fix error creating L2TP tunnels
  net/mlx4_en: Avoid changing dev->features directly in run-time
  net/mlx4_en: Choose time-stamping shift value according to HW frequency
  net/mlx4_en: Count HW buffer overrun only once
  qmi_wwan: add "4G LTE usb-modem U901"
  tcp: md5: release request socket instead of listener
  tipc: fix premature addition of node to lookup table
  af_unix: Guard against other == sk in unix_dgram_sendmsg
  af_unix: Don't set err in unix_stream_read_generic unless there was an error
  ipv4: fix memory leaks in ip_cmsg_send() callers
  bonding: Fix ARP monitor validation
  bpf: fix branch offset adjustment on backjumps after patching ctx expansion
  flow_dissector: Fix unaligned access in __skb_flow_dissector when used by eth_get_headlen
  net: Copy inner L3 and L4 headers as unaligned on GRE TEB
  sctp: translate network order to host order when users get a hmacid
  enic: increment devcmd2 result ring in case of timeout
  tg3: Fix for tg3 transmit queue 0 timed out when too many gso_segs
  net:Add sysctl_max_skb_frags
  tcp: do not drop syn_recv on all icmp reports
  unix: correctly track in-flight fds in sending process user_struct
  ipv6: fix a lockdep splat
  ipv6: addrconf: Fix recursive spin lock call
  ipv6/udp: use sticky pktinfo egress ifindex on connect()
  ipv6: enforce flowi6_oif usage in ip6_dst_lookup_tail()
  tcp: beware of alignments in tcp_get_info()
  switchdev: Require RTNL mutex to be held when sending FDB notifications
  inet: frag: Always orphan skbs inside ip_defrag()
  tipc: fix connection abort during subscription cancel
  net: dsa: fix mv88e6xxx switches
  sctp: allow setting SCTP_SACK_IMMEDIATELY by the application
  pptp: fix illegal memory access caused by multiple bind()s
  af_unix: fix struct pid memory leak
  tcp: fix NULL deref in tcp_v4_send_ack()
  lwt: fix rx checksum setting for lwt devices tunneling over ipv6
  tunnels: Allow IPv6 UDP checksums to be correctly controlled.
  net: dp83640: Fix tx timestamp overflow handling.
  gro: Make GRO aware of lightweight tunnels.
  af_iucv: Validate socket address length in iucv_sock_bind()

Conflicts:
	arch/arm64/Makefile
	arch/arm64/include/asm/cacheflush.h
	drivers/mmc/host/sdhci.c
	drivers/usb/dwc3/ep0.c
	drivers/usb/dwc3/gadget.c
	kernel/module.c
	sound/core/pcm_compat.c

CRs-Fixed: 1010239
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
Change-Id: I41a28636fc9ad91f9d979b191784609476294cdf
2016-07-12 11:40:49 -07:00
Arun Menon
5bf14d8ab8 msm: vidc: Fix an issue with high bitrate playback
If the instant bitrate during playback is higher than
the max supported bitrate, then driver should ensure
that venus core is scaled at max frequency. Without this
change we will see frame drops if instant bitrate is
higher than max supported.

CRs-Fixed: 1038427
Change-Id: Id76865085285e2d8b92dba6aa456b972374789ac
Signed-off-by: Arun Menon <avmenon@codeaurora.org>
2016-07-12 11:20:20 -07:00
Liam Mark
e6149b4829 defconfig: msmcortex: don't set default CMA region size
Configure the default CMA region size in DT instead
of using CONFIG_CMA_SIZE_MBYTES.
This is better because it allows alloc-ranges to be set and
is easier to configure per target.

CRs-Fixed: 1024204
Change-Id: Ie3bff2a43cfc2ea16543a3e9322a10f42c4bd923
Signed-off-by: Liam Mark <lmark@codeaurora.org>
2016-07-12 11:14:58 -07:00
Devesh Jhunjhunwala
153a1225e2 leds: qpnp-flash-v2: Separate switch node disable sequence
Remove the leds_off label and move the switch node disable
sequence into a separate function. Also take this opportunity
to move the flash-led structs from header file to driver file.

CRs-Fixed: 1024187
Change-Id: I5d4eb58f5ed3ace03190f3c48b98f0d88e8b8965
Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
2016-07-12 11:12:16 -07:00
Devesh Jhunjhunwala
848d2fada7 ARM: dts: msm: Add switch nodes to pmicobalt
The camera driver needs to be able to independently control
the front led and the rear leds from separate camera devices.
Update the pmicobalt flash-led device to support two switch
nodes, one of which controls the two rear leds and the other
controls the front led. Also update the camera device to use
the new switch node phandle.

CRs-Fixed: 1024187
Change-Id: I13d5a64fc35ca80e928d6da689d7b19cbbdb8fe5
Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
2016-07-12 11:12:16 -07:00
Devesh Jhunjhunwala
74ec31a097 leds: qpnp-flash-v2: Add support for multiple switch nodes
Since multiple devices may need to use the flash module,
each will need its own switch node to be able to
independently control the different leds. Add support for
this functionality.

CRs-Fixed: 1024187
Change-Id: Ibeebaff8456d8d338ac9bebb50e205e1196ce8a6
Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
2016-07-12 11:12:16 -07:00
Shiv Maliyappanahalli
b1d38768f1 ASoC: msmcobalt: add channel configuration for proxy port
Add channel configuration support and hardware params
configuration for proxy audio back end so that clients
can configure channel dynamically.

Change-Id: I1200aecb864c460f8096774ced62f37a023e378e
Signed-off-by: Shiv Maliyappanahalli <smaliyap@codeaurora.org>
2016-07-12 10:57:02 -07:00
Deepak Katragadda
c2c438e4b5 clk: msm: clock-mmss-cobalt: Add display port pixel clocks
Add support for the DP pixel clocks on MSMCOBALT.

Change-Id: Iab59a45da4bbca19b2eaebc63d827768ae86eec8
CRs-Fixed: 1028725
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2016-07-12 08:32:33 -07:00
Deepak Katragadda
a1d8269396 clk: msm: clock-local: Add RCG support for DP pixel source
Add a new RCG op specific for the DP pixel clock source.

CRs-Fixed: 1028725
Change-Id: I65dcac9f4d17d30dfa1a00f4edabef33a3d75c6a
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2016-07-12 08:32:26 -07:00
Skylar Chang
e2b188f588 msm: ipa3: support 64bitmask with SMMU attached
Add support for using 64bit dma_mask on ipa3 with
smmu dev attached both in bypass and full mode.

Change-Id: I955d81bffc957c4d93a1a90eb974e558e7b5d123
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2016-07-11 23:57:51 -07:00
Purushottam Kushwaha
888a82c476 nl80211: Move ACL parsing later to avoid a possible memory leak
No support for pbss results in a memory leak for the acl_data
(if parse_acl_data succeeds). Fix this by moving the ACL parsing later.

Cc: stable@vger.kernel.org
Fixes: 34d505193bd10 ("cfg80211: basic support for PBSS network type")
Signed-off-by: Purushottam Kushwaha <pkushwah@qti.qualcomm.com>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Git-repo: git://git.kernel.org/cgit/linux/kernel/git/jberg/mac80211.git
Git-commit: 6e8ef842223b90a33efd570128bb566a9ae6f5ad
CRs-fixed: 1024951
Change-Id: I5750ae9091ca349e98bba4b24c78ef9446278c5a
Signed-off-by: Purushottam Kushwaha <pkushwah@codeaurora.org>
2016-07-11 21:44:10 -07:00
Hemant Kumar
b2b3f4fb85 ARM: dts: msm: Attach device memory to lpass iommu on msmcobalt
In order to share the usb audio qmi device iova with lpass usb audio
driver, attach usb audio qmi device to lpass q6 iommu using sid 12.

Change-Id: Iec7a0d5472136f55e31723ce2f4d681a9b67c140
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-07-11 20:58:37 -07:00
Ben Romberger
400520a6e2 ASoC: msm: qdsp6v2: Fix FE id check in routing driver
Modify FE ID check to use > instead of >= since
MSM_FRONTEND_DAI_MM_MAX_ID is defined as
MSM_FRONTEND_DAI_MULTIMEDIA16 which is a valid
FE ID.

Change-Id: I0ba4d62e3723841c3dfccdca210c80cd220f78f7
Signed-off-by: Ben Romberger <bromberg@codeaurora.org>
2016-07-11 18:56:38 -07:00
Venkatesh Yadav Abbarapu
4423fd7a10 ARM: dts: msm: Add initial device tree files for falcon RUMI
Adding the device tree files for RUMI platform.

Change-Id: I980e39b8c072fc2ec35d84b8698c40c770f7f041
Signed-off-by: Venkatesh Yadav Abbarapu <vabbar@codeaurora.org>
2016-07-11 18:56:38 -07:00
Praveen Chavan
4a5b332ab4 msm: vidc: Remove forced-setting of layer-wise bitrate for HP
Layerwise bitrate with predefined distribution table is applied
if HP is enabled. This is wrong (since client may configure
custom distribution) and unnecessary (client may not configure
layerwise distribution and use cumulative).

CRs-Fixed: 1023504
Change-Id: I053587ae85b36ce0b08fdb5918c0f6b9d678dd24
Signed-off-by: Praveen Chavan <pchavan@codeaurora.org>
2016-07-11 18:56:37 -07:00