OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
8 years agoqcom-charger: smb138x-charger: change power supply type to usb parallel
Nicholas Troast [Tue, 19 Jul 2016 16:09:12 +0000 (09:09 -0700)]
qcom-charger: smb138x-charger: change power supply type to usb parallel

Currently the type of the parallel power supply is
POWER_SUPPLY_TYPE_BATTERY. Change it to POWER_SUPPLY_TYPE_USB_PARALLEL.

Change-Id: Ic7652e43781f39d3137fb55f2fec2423e457fac4
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
8 years agoMerge "ASoC: msm: Add support for 192KHZ sampling rate on mi2s rx ports"
Linux Build Service Account [Tue, 19 Jul 2016 10:39:58 +0000 (03:39 -0700)]
Merge "ASoC: msm: Add support for 192KHZ sampling rate on mi2s rx ports"

8 years agoMerge "ASoC: msm: Implementing Tx mute in ASM loopback"
Linux Build Service Account [Tue, 19 Jul 2016 10:39:57 +0000 (03:39 -0700)]
Merge "ASoC: msm: Implementing Tx mute in ASM loopback"

8 years agoMerge "ASoC: aud-ext-clk: enable lnbbclk2 for tavil"
Linux Build Service Account [Mon, 18 Jul 2016 20:05:23 +0000 (13:05 -0700)]
Merge "ASoC: aud-ext-clk: enable lnbbclk2 for tavil"

8 years agoMerge "ASoC: wcd934x: enable recording for wcd934x audio codec"
Linux Build Service Account [Mon, 18 Jul 2016 20:05:20 +0000 (13:05 -0700)]
Merge "ASoC: wcd934x: enable recording for wcd934x audio codec"

8 years agoMerge "ASoC: wcd934x: add wcd934x audio codec driver"
Linux Build Service Account [Mon, 18 Jul 2016 20:05:19 +0000 (13:05 -0700)]
Merge "ASoC: wcd934x: add wcd934x audio codec driver"

8 years agoMerge "clk: msm: Add MSM clock config for MSM clock controller"
Linux Build Service Account [Mon, 18 Jul 2016 15:07:53 +0000 (08:07 -0700)]
Merge "clk: msm: Add MSM clock config for MSM clock controller"

8 years agoASoC: wcd934x: enable recording for wcd934x audio codec
Yeleswarapu Nagaradhesh [Tue, 12 Jul 2016 01:43:27 +0000 (07:13 +0530)]
ASoC: wcd934x: enable recording for wcd934x audio codec

Add support for Analog MIC and Digital MIC recording
for wcd934x codec.

CRs-Fixed: 1041199
Change-Id: I79e07682661fea99baaa29f8807eaf2f684f65be
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
8 years agoMerge "clk: msm: clock-gcc-cobalt: Remove support for gcc_bimc_hmss_axi_clk"
Linux Build Service Account [Sat, 16 Jul 2016 23:26:57 +0000 (16:26 -0700)]
Merge "clk: msm: clock-gcc-cobalt: Remove support for gcc_bimc_hmss_axi_clk"

8 years agoMerge "qcom-charger: update parallel charging states after boot"
Linux Build Service Account [Sat, 16 Jul 2016 23:26:56 +0000 (16:26 -0700)]
Merge "qcom-charger: update parallel charging states after boot"

8 years agoMerge "ASoC: msm: qdsp6v2: Increase PCM capture period size"
Linux Build Service Account [Sat, 16 Jul 2016 14:34:17 +0000 (07:34 -0700)]
Merge "ASoC: msm: qdsp6v2: Increase PCM capture period size"

8 years agoMerge "ARM: dts: msm: Add Temperature sensor support for msmfalcon"
Linux Build Service Account [Sat, 16 Jul 2016 14:34:16 +0000 (07:34 -0700)]
Merge "ARM: dts: msm: Add Temperature sensor support for msmfalcon"

8 years agoMerge "thermal: tsens: Enable TSENS for msmfalcon"
Linux Build Service Account [Sat, 16 Jul 2016 14:34:16 +0000 (07:34 -0700)]
Merge "thermal: tsens: Enable TSENS for msmfalcon"

8 years agoMerge "drivers: mfd: do not modify reset gpio if codec is identified"
Linux Build Service Account [Sat, 16 Jul 2016 14:34:15 +0000 (07:34 -0700)]
Merge "drivers: mfd: do not modify reset gpio if codec is identified"

8 years agoMerge "ASoC: wcd9335: Update decimator filter cutoff frequency"
Linux Build Service Account [Sat, 16 Jul 2016 14:34:14 +0000 (07:34 -0700)]
Merge "ASoC: wcd9335: Update decimator filter cutoff frequency"

8 years agoMerge "defconfig: msm: build dtb appended zImage for msmfalcon"
Linux Build Service Account [Sat, 16 Jul 2016 14:34:13 +0000 (07:34 -0700)]
Merge "defconfig: msm: build dtb appended zImage for msmfalcon"

8 years agoMerge "arch: arm: select ARM_GIC even for targets with gic-v3"
Linux Build Service Account [Sat, 16 Jul 2016 14:34:12 +0000 (07:34 -0700)]
Merge "arch: arm: select ARM_GIC even for targets with gic-v3"

8 years agoMerge "clk: Add support to set custom flags with clk_set_flags"
Linux Build Service Account [Sat, 16 Jul 2016 14:34:11 +0000 (07:34 -0700)]
Merge "clk: Add support to set custom flags with clk_set_flags"

8 years agoMerge "msm: pcie: change the logging type for dumping PARF registers"
Linux Build Service Account [Sat, 16 Jul 2016 14:34:11 +0000 (07:34 -0700)]
Merge "msm: pcie: change the logging type for dumping PARF registers"

8 years agoMerge "ARM: dts: msm: peripheral_mem carveout for msmcobalt"
Linux Build Service Account [Sat, 16 Jul 2016 03:03:32 +0000 (20:03 -0700)]
Merge "ARM: dts: msm: peripheral_mem carveout for msmcobalt"

8 years agoASoC: aud-ext-clk: enable lnbbclk2 for tavil
Yeleswarapu Nagaradhesh [Wed, 29 Jun 2016 01:47:52 +0000 (18:47 -0700)]
ASoC: aud-ext-clk: enable lnbbclk2 for tavil

Tavil is sourced from lnbbclk2 and hence enable
this clock for tavil codec.

CRs-Fixed: 1041199
Change-Id: I5409b0f4ed58fefdd25abbe79f144de7e693c1a1
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
8 years agoASoC: wcd9xxx: add support for wcd934x codec
Yeleswarapu Nagaradhesh [Wed, 13 Jul 2016 19:47:05 +0000 (01:17 +0530)]
ASoC: wcd9xxx: add support for wcd934x codec

Add wcd934x as a mfd child and configure regmap.
Configure MCLK as per the HW sequence.

CRs-Fixed: 1041199
Change-Id: I9e2dbb0f0acaa1442c1624556bc52abf98158c92
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
8 years agoASoC: msm: add support for wcd934x
Yeleswarapu Nagaradhesh [Wed, 13 Jul 2016 22:16:36 +0000 (03:46 +0530)]
ASoC: msm: add support for wcd934x

Add support for wcd934x codec in machine
driver.

CRs-Fixed: 1041199
Change-Id: I98bbd10cc25e11f0411c94a4fdbedebc1ab56429
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
8 years agodefconfig: arm64: msmcortex: enable wcd934x for msmcobalt
Yeleswarapu Nagaradhesh [Mon, 11 Jul 2016 18:24:17 +0000 (23:54 +0530)]
defconfig: arm64: msmcortex: enable wcd934x for msmcobalt

Enable wcd934x audio codec for msmcobalt platform.

CRs-Fixed: 1041199
Change-Id: I71d868703091821c76638da0abfa07f3bb043d82
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
8 years agoASoC: wcd934x: add wcd934x audio codec driver
Yeleswarapu Nagaradhesh [Wed, 13 Jul 2016 19:44:56 +0000 (01:14 +0530)]
ASoC: wcd934x: add wcd934x audio codec driver

Add changes to support wcd934x audio codec.
This driver registers to ALSA framework, supports
basic codec operations like playback and record.

CRs-Fixed: 1041199
Change-Id: I62c53d98b6cd8e750a040f692b164b9bfcf44799
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
8 years agoMerge "ARM: dts: msm: Increase ADSP ion heap by 4 MB for msmcobalt"
Linux Build Service Account [Fri, 15 Jul 2016 21:34:47 +0000 (14:34 -0700)]
Merge "ARM: dts: msm: Increase ADSP ion heap by 4 MB for msmcobalt"

8 years agoMerge "msm: camera: Fix memory read by adding bounds check"
Linux Build Service Account [Fri, 15 Jul 2016 21:34:47 +0000 (14:34 -0700)]
Merge "msm: camera: Fix memory read by adding bounds check"

8 years agoMerge "usb: pd: pdphy: Assign __pdphy before usbpd_create()"
Linux Build Service Account [Fri, 15 Jul 2016 21:34:45 +0000 (14:34 -0700)]
Merge "usb: pd: pdphy: Assign __pdphy before usbpd_create()"

8 years agoMerge "irq-chip: gic-v3: Initialize mpm for GIC monitored interrupts"
Linux Build Service Account [Fri, 15 Jul 2016 21:34:34 +0000 (14:34 -0700)]
Merge "irq-chip: gic-v3: Initialize mpm for GIC monitored interrupts"

8 years agoMerge "spmi: spmi-pmic-arb: enable the SPMI interrupt as a wakeup source"
Linux Build Service Account [Fri, 15 Jul 2016 21:34:22 +0000 (14:34 -0700)]
Merge "spmi: spmi-pmic-arb: enable the SPMI interrupt as a wakeup source"

8 years agoclk: msm: clock-gcc-cobalt: Remove support for gcc_bimc_hmss_axi_clk
Deepak Katragadda [Fri, 1 Jul 2016 00:11:49 +0000 (17:11 -0700)]
clk: msm: clock-gcc-cobalt: Remove support for gcc_bimc_hmss_axi_clk

The gcc_bimc_hmss_axi_clk will be configured outside of HLOS.
The linux clock driver does not need to manually enable it.

CRs-Fixed: 1012646
Change-Id: Ib0b848fb410f4bf266b09cefed0e8bce7292d2ec
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
8 years agoASoC: wcd9335: Update decimator filter cutoff frequency
Phani Kumar Uppalapati [Mon, 14 Mar 2016 19:03:20 +0000 (12:03 -0700)]
ASoC: wcd9335: Update decimator filter cutoff frequency

Update decimator high pass filter cutoff frequency if the
TX is path closed within 300ms after opening the session.
This will restore the cutoff frequency to the default
correct value.

CRs-fixed: 988075
Change-Id: Iece28fe2551a74ec7b1b8b4b5cac02537e3d28d8
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
8 years agoqcom-charger: update parallel charging states after boot
Harry Yang [Thu, 23 Jun 2016 21:54:43 +0000 (14:54 -0700)]
qcom-charger: update parallel charging states after boot

If a USB charger is already attached before the master charger
probes, the master will miss updating parallel charging states.

ICL and charge state change interrupts get triggered before
their handlers are registered. Hence these interrupts will not
be handled.  Obtain the state of missing interrupts by polling
status registers.

If parallel charging is ready on master side before the parallel
charger probes, then parallel charging will not be enabled.
Check if parallel charging is ready once the parallel charger
probes so parallel charging can be enabled immediately.

CRs-Fixed: 1033688
Change-Id: Ic91baeaeb7410b6f265b8bfa8e31e2bcff8dfce2
Signed-off-by: Harry Yang <harryy@codeaurora.org>
8 years agomsm: pcie: change the logging type for dumping PARF registers
Tony Truong [Fri, 1 Jul 2016 02:15:28 +0000 (19:15 -0700)]
msm: pcie: change the logging type for dumping PARF registers

When clients dumps PCIe PARF registers, it should not flood
dmesg. Change the logging type for dumping PCIe PARF register
to a lower priority one. The dump will only show up in PCIe
specific logs and not dmesg.

Change-Id: Ide04b0d2017ce3c1a99edd2b38ef5b06178a1f41
Signed-off-by: Tony Truong <truong@codeaurora.org>
8 years agoARM: dts: msm: peripheral_mem carveout for msmcobalt
Liam Mark [Fri, 3 Jun 2016 23:32:42 +0000 (16:32 -0700)]
ARM: dts: msm: peripheral_mem carveout for msmcobalt

The peripheral_mem carveout currently contains three separate images.
If these images are dynamically unloaded and reloaded in the wrong
order they could fragment the memory such that not all images would
fit.

Break apart the peripheral_mem into separate carveouts for each PIL
image to avoid the possibility of fragmentation.

CRs-Fixed: 1024397
Change-Id: Id9607b7e4a5e0cdcbf4c36ffad32536dd0669005
Signed-off-by: Liam Mark <lmark@codeaurora.org>
8 years agoMerge "USB: gadget: serial: Fix debugfs crash"
Linux Build Service Account [Fri, 15 Jul 2016 15:15:21 +0000 (08:15 -0700)]
Merge "USB: gadget: serial: Fix debugfs crash"

8 years agoMerge "msm: ADSPRPC: Handle fastrpc glink channel open on timeout"
Linux Build Service Account [Fri, 15 Jul 2016 10:44:37 +0000 (03:44 -0700)]
Merge "msm: ADSPRPC: Handle fastrpc glink channel open on timeout"

8 years agoMerge "msm: kgsl: Disable GPU software clockgating on A540"
Linux Build Service Account [Fri, 15 Jul 2016 10:44:34 +0000 (03:44 -0700)]
Merge "msm: kgsl: Disable GPU software clockgating on A540"

8 years agoMerge "ARM: dts: msmcobalt: Add control for GPU software clockgating"
Linux Build Service Account [Fri, 15 Jul 2016 10:44:33 +0000 (03:44 -0700)]
Merge "ARM: dts: msmcobalt: Add control for GPU software clockgating"

8 years agoMerge "scsi: ufshcd: Fix race between clk scaling and ungate work"
Linux Build Service Account [Fri, 15 Jul 2016 10:44:32 +0000 (03:44 -0700)]
Merge "scsi: ufshcd: Fix race between clk scaling and ungate work"

8 years agoMerge "ARM: dts: msm: add 2k truly panel for msmcobalt"
Linux Build Service Account [Fri, 15 Jul 2016 10:44:31 +0000 (03:44 -0700)]
Merge "ARM: dts: msm: add 2k truly panel for msmcobalt"

8 years agoMerge "qcom-charger: show correct battery status while charging via wireless"
Linux Build Service Account [Fri, 15 Jul 2016 10:44:30 +0000 (03:44 -0700)]
Merge "qcom-charger: show correct battery status while charging via wireless"

8 years agoMerge "msm: ipa3: don't check offset_entry when using DDR address"
Linux Build Service Account [Fri, 15 Jul 2016 10:44:29 +0000 (03:44 -0700)]
Merge "msm: ipa3: don't check offset_entry when using DDR address"

8 years agoMerge "msm: kgsl: Disable GPU isense clock below nominal power level"
Linux Build Service Account [Fri, 15 Jul 2016 10:44:28 +0000 (03:44 -0700)]
Merge "msm: kgsl: Disable GPU isense clock below nominal power level"

8 years agoMerge "Merge remote-tracking branch 'origin/tmp-917a9a9133a6' into lsk"
Linux Build Service Account [Fri, 15 Jul 2016 10:44:28 +0000 (03:44 -0700)]
Merge "Merge remote-tracking branch 'origin/tmp-917a9a9133a6' into lsk"

8 years agoMerge "ARM: dts: msm: disable L1 and L1ss for PCIe on msmcobalt"
Linux Build Service Account [Fri, 15 Jul 2016 10:44:27 +0000 (03:44 -0700)]
Merge "ARM: dts: msm: disable L1 and L1ss for PCIe on msmcobalt"

8 years agoMerge "qcom-charger: qpnp-smb2: enable some irqs as a wakeup source"
Linux Build Service Account [Fri, 15 Jul 2016 10:44:26 +0000 (03:44 -0700)]
Merge "qcom-charger: qpnp-smb2: enable some irqs as a wakeup source"

8 years agoMerge "usb: dwc3: Fix bug in ep disable operation"
Linux Build Service Account [Fri, 15 Jul 2016 10:44:25 +0000 (03:44 -0700)]
Merge "usb: dwc3: Fix bug in ep disable operation"

8 years agoMerge "icnss: Setup hypervisor permissions for MSA0"
Linux Build Service Account [Fri, 15 Jul 2016 10:44:25 +0000 (03:44 -0700)]
Merge "icnss: Setup hypervisor permissions for MSA0"

8 years agoMerge "msm: vidc: Fix buffer overflow issue in driver"
Linux Build Service Account [Fri, 15 Jul 2016 10:44:24 +0000 (03:44 -0700)]
Merge "msm: vidc: Fix buffer overflow issue in driver"

8 years agoMerge "spmi-pmic-arb: change mode callback/ops for v3"
Linux Build Service Account [Fri, 15 Jul 2016 10:44:23 +0000 (03:44 -0700)]
Merge "spmi-pmic-arb: change mode callback/ops for v3"

8 years agoMerge "msm: kgsl: Remove ISENSE control code"
Linux Build Service Account [Fri, 15 Jul 2016 10:44:23 +0000 (03:44 -0700)]
Merge "msm: kgsl: Remove ISENSE control code"

8 years agoMerge "ARM: dts: msmcobalt: Enable GPU Turbo on A540"
Linux Build Service Account [Fri, 15 Jul 2016 10:44:22 +0000 (03:44 -0700)]
Merge "ARM: dts: msmcobalt: Enable GPU Turbo on A540"

8 years agoMerge "msm: ipa: exit when hdr proc ctx table is full"
Linux Build Service Account [Fri, 15 Jul 2016 10:44:19 +0000 (03:44 -0700)]
Merge "msm: ipa: exit when hdr proc ctx table is full"

8 years agodefconfig: msm: build dtb appended zImage for msmfalcon
Srinivas Ramana [Tue, 12 Jul 2016 06:52:49 +0000 (12:22 +0530)]
defconfig: msm: build dtb appended zImage for msmfalcon

Enable building dtb appended zImage for msmfalcon.

Change-Id: I47abe573e2867b9c38bebd637a4ae2f07fab63a3
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
8 years agoarch: arm: select ARM_GIC even for targets with gic-v3
Srinivas Ramana [Thu, 7 Jul 2016 09:57:16 +0000 (15:27 +0530)]
arch: arm: select ARM_GIC even for targets with gic-v3

Some of the features like MSM_GIC_SHOW_IRQ are using ARM_GIC
flag. So select this even for gic-v3 target on 32-bit.
This will also make it consistent with arm64 where ARM_GIC
is selected along with gic-v3.

Change-Id: Ie929d63a23c88799c488c5a79c81cd1cbfaa6565
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
8 years agoUSB: gadget: serial: Fix debugfs crash
Arumuga Durai A [Thu, 5 May 2016 07:23:29 +0000 (12:53 +0530)]
USB: gadget: serial: Fix debugfs crash

Serial function driver creates debugfs files even though ports
are not allocated. Fetching/reading those files without allocation
of ports leads to crash. Check port allocation before creating
the files.

Change-Id: I85b050a261cca6f961d5d9058efb8b7facf242ce
Signed-off-by: Arumuga Durai A <cadurai@codeaurora.org>
8 years agomsm: camera: Fix memory read by adding bounds check
Trishansh Bhardwaj [Wed, 29 Jun 2016 09:04:31 +0000 (14:34 +0530)]
msm: camera: Fix memory read by adding bounds check

Adds bound check on reg_cfg_cmd->u.dmi_info.hi_tbl_offset.

IOCTL VIDIOC_MSM_VFE_REG_CFG uses usersupplied value without
performing bounds check for following cmd_type.
VFE_READ_DMI_16BIT
VFE_READ_DMI_32BIT
VFE_READ_DMI_64BIT

Change-Id: I554c45ef3a172f5b5891b67a7e8e7a1f3f3882ed
Signed-off-by: Trishansh Bhardwaj <tbhardwa@codeaurora.org>
8 years agodrivers: mfd: do not modify reset gpio if codec is identified
Yeleswarapu Nagaradhesh [Tue, 21 Jun 2016 18:50:06 +0000 (00:20 +0530)]
drivers: mfd: do not modify reset gpio if codec is identified

If target can support multiple codecs, only one of the
codecs will be enumerated. Do not clean up common resources
when other codec fails to enumerate.

CRs-Fixed: 1041199
Change-Id: I74a298739925b5763458c2e637372aa8f2c2aa55
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
8 years agoARM: dts: msm: Increase ADSP ion heap by 4 MB for msmcobalt
Sathish Ambley [Thu, 14 Jul 2016 21:49:38 +0000 (14:49 -0700)]
ARM: dts: msm: Increase ADSP ion heap by 4 MB for msmcobalt

Increase ADSP ION heap by 4 MB that is required by the
ImproveTouch functionality.

Change-Id: I03a298cf69369efc58f8d85d39897408d34f3635
Signed-off-by: Sathish Ambley <sathishambley@codeaurora.org>
8 years agomsm: ADSPRPC: Handle fastrpc glink channel open on timeout
Sathish Ambley [Tue, 12 Jul 2016 18:42:21 +0000 (11:42 -0700)]
msm: ADSPRPC: Handle fastrpc glink channel open on timeout

Added channel state and checks to avoid glink channel opening twice
during timeout of previous call. Clean up and added more checks.

Change-Id: Ibf5343a86d3aeaf67acfbae381f103428c98ea73
Acked-by: Viswanatham Paduchuri <vpaduchu@qti.qualcomm.com>
Signed-off-by: Sathish Ambley <sathishambley@codeaurora.org>
8 years agoscsi: ufshcd: Fix race between clk scaling and ungate work
Venkat Gopalakrishnan [Thu, 14 Jul 2016 18:34:56 +0000 (11:34 -0700)]
scsi: ufshcd: Fix race between clk scaling and ungate work

The ungate work turns on the clock before it exits hibern8,
if the link was put in hibern8 during clock gating work.
There occurs a race condition when clock scaling work calls
ufshcd_hold() to make sure low power states cannot be entered,
but that returns by checking only whether the clocks are on.
This causes the clock scaling work to issue UIC commands when
the link is in hibern8 causing failures. Make sure we exit
hibern8 state before returning from ufshcd_hold().

Callstacks for race condition:

ufshcd_scale_gear+0x120/0x138
ufshcd_devfreq_scale+0x98/0x154
ufshcd_devfreq_target+0x14c/0x250
update_devfreq+0xc4/0x10c
devfreq_monitor+0x34/0x90
process_one_work+0x24c/0x430
worker_thread+0x2e0/0x408
kthread+0x100/0x108
ret_from_fork+0x10/0x40

ufshcd_uic_hibern8_exit+0x128/0x1f0
ufshcd_ungate_work+0xec/0x148
process_one_work+0x24c/0x430
worker_thread+0x2e0/0x408
kthread+0x100/0x108
ret_from_fork+0x10/0x40

CRs-Fixed: 1036530
Change-Id: I7f430abfb2a545ac97dee488a696a89cd18214f1
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
8 years agousb: pd: pdphy: Assign __pdphy before usbpd_create()
Jack Pham [Thu, 14 Jul 2016 17:52:11 +0000 (10:52 -0700)]
usb: pd: pdphy: Assign __pdphy before usbpd_create()

As the PD PHY probes, assign the static __pdphy pointer with
the pdphy instance prior to calling usbpd_create(). This ensures
that if the policy engine state machine kicks off right away
and calls back into the PHY APIs that there is a valid instance
found.

As further safeguarding, also fix the open/close/signal/write APIs
in the case where the instance cannot be found by using pr_err
instead of dev_err which would lead to a NULL pointer dereference.

Change-Id: I59a01f2ac3b0c374eb3420f40054cc05a80226ba
Signed-off-by: Jack Pham <jackp@codeaurora.org>
8 years agoclk: Add support to set custom flags with clk_set_flags
Taniya Das [Wed, 15 Jun 2016 06:45:01 +0000 (12:15 +0530)]
clk: Add support to set custom flags with clk_set_flags

The new API clk_set_flags could be used by hardware specific clock drivers
or clients for specific hardware requirements. These flags could be custom
defined as per hardware needs.

Change-Id: Ia67373ee2b8934c898052c68338fa86cb16070dd
Signed-off-by: Taniya Das <tdas@codeaurora.org>
8 years agomsm: ipa3: don't check offset_entry when using DDR address
Amir Levy [Thu, 14 Jul 2016 06:29:20 +0000 (09:29 +0300)]
msm: ipa3: don't check offset_entry when using DDR address

Checking offset_entry is not necessary when using DDR addresses.
Check offset_entry only when using header tables.

CRs-fixed: 1041515
Change-Id: I4b3e44bda6ee05932a7de66e1e7cea300936f982
Signed-off-by: Amir Levy <alevy@codeaurora.org>
8 years agoARM: dts: msm: disable L1 and L1ss for PCIe on msmcobalt
Tony Truong [Wed, 13 Jul 2016 23:08:28 +0000 (16:08 -0700)]
ARM: dts: msm: disable L1 and L1ss for PCIe on msmcobalt

While NOC timeout feature is enabled, L1 and L1 substate
low power mode should be disabled. Thus, disable L1 and L1ss
for PCIe on msmcobalt.

Change-Id: If77f1850396d3e78cdcb774cdb6de148a2b4d14e
Signed-off-by: Tony Truong <truong@codeaurora.org>
8 years agoARM: dts: msm: add 2k truly panel for msmcobalt
Ingrid Gallardo [Thu, 30 Jun 2016 21:49:32 +0000 (14:49 -0700)]
ARM: dts: msm: add 2k truly panel for msmcobalt

Add required settings for command mode and video
mode 2k truly panel and include those settings in
msmcobalt for CDP and MTP.

Change-Id: I419af32ee73bd486258692eba3f699e6b987c288
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
8 years agoqcom-charger: show correct battery status while charging via wireless
Harry Yang [Tue, 28 Jun 2016 00:58:51 +0000 (17:58 -0700)]
qcom-charger: show correct battery status while charging via wireless

POWER_SUPPLY_STATUS shows 'Discharging' when DCIN is the only charging
input, because current input online report is solely based on USB.
DCIN is included to fix the issue.

CRs-Fixed: 1034899
Change-Id: I58b8ca712a7900caf37bf79f5281fb3b6dab80f2
Signed-off-by: Harry Yang <harryy@codeaurora.org>
8 years agoMerge "ASoC: wcd9335: Update decimator filter cutoff frequency"
Linux Build Service Account [Wed, 13 Jul 2016 22:45:38 +0000 (15:45 -0700)]
Merge "ASoC: wcd9335: Update decimator filter cutoff frequency"

8 years agoMerge "ASoC: msmcobalt: add channel configuration for proxy port"
Linux Build Service Account [Wed, 13 Jul 2016 22:45:37 +0000 (15:45 -0700)]
Merge "ASoC: msmcobalt: add channel configuration for proxy port"

8 years agoMerge "ASoC: msm: qdsp6v2: Add get for App Type mixer control"
Linux Build Service Account [Wed, 13 Jul 2016 22:45:36 +0000 (15:45 -0700)]
Merge "ASoC: msm: qdsp6v2: Add get for App Type mixer control"

8 years agoMerge "soc: qcom: glink_smd_xprt: Fix smd close ack for legacy channel"
Linux Build Service Account [Wed, 13 Jul 2016 22:45:35 +0000 (15:45 -0700)]
Merge "soc: qcom: glink_smd_xprt: Fix smd close ack for legacy channel"

8 years agoMerge "soc: qcom: glink_smd_xprt: Fix ssr sync during intent request"
Linux Build Service Account [Wed, 13 Jul 2016 22:45:34 +0000 (15:45 -0700)]
Merge "soc: qcom: glink_smd_xprt: Fix ssr sync during intent request"

8 years agoMerge "ASoC: wcd-mbhc: enable micbias for special headset"
Linux Build Service Account [Wed, 13 Jul 2016 22:45:33 +0000 (15:45 -0700)]
Merge "ASoC: wcd-mbhc: enable micbias for special headset"

8 years agoMerge "ASoC: wcd9330: Update driver for 12.288MHz clock support"
Linux Build Service Account [Wed, 13 Jul 2016 22:45:32 +0000 (15:45 -0700)]
Merge "ASoC: wcd9330: Update driver for 12.288MHz clock support"

8 years agoMerge "ASoC: wcd-mbhc: fix plug removal detection from extension cable"
Linux Build Service Account [Wed, 13 Jul 2016 22:45:32 +0000 (15:45 -0700)]
Merge "ASoC: wcd-mbhc: fix plug removal detection from extension cable"

8 years agoMerge "ASoC: msm8996: add support for packed 24 bit"
Linux Build Service Account [Wed, 13 Jul 2016 22:45:31 +0000 (15:45 -0700)]
Merge "ASoC: msm8996: add support for packed 24 bit"

8 years agoMerge "ARM: dts: msm: set rcu_expedited for msm chisets"
Linux Build Service Account [Wed, 13 Jul 2016 22:45:30 +0000 (15:45 -0700)]
Merge "ARM: dts: msm: set rcu_expedited for msm chisets"

8 years agoMerge "ARM: dts: msm: support full Gold cluster frequency plan for msmcobalt"
Linux Build Service Account [Wed, 13 Jul 2016 22:45:29 +0000 (15:45 -0700)]
Merge "ARM: dts: msm: support full Gold cluster frequency plan for msmcobalt"

8 years agoMerge "ARM: dts: msm: Enabling ESD detection support for msmcobalt"
Linux Build Service Account [Wed, 13 Jul 2016 22:45:27 +0000 (15:45 -0700)]
Merge "ARM: dts: msm: Enabling ESD detection support for msmcobalt"

8 years agoMerge "ARM: dts: msm: update VDD_GFX CPR voltage adjustments for msmcobalt"
Linux Build Service Account [Wed, 13 Jul 2016 22:45:26 +0000 (15:45 -0700)]
Merge "ARM: dts: msm: update VDD_GFX CPR voltage adjustments for msmcobalt"

8 years agoMerge "msm: mdss: fix QSEED3 bypass mode and lut cfg issues"
Linux Build Service Account [Wed, 13 Jul 2016 22:45:25 +0000 (15:45 -0700)]
Merge "msm: mdss: fix QSEED3 bypass mode and lut cfg issues"

8 years agoMerge "qcom-charger: smb-lib: fix battery health status"
Linux Build Service Account [Wed, 13 Jul 2016 22:45:24 +0000 (15:45 -0700)]
Merge "qcom-charger: smb-lib: fix battery health status"

8 years agoMerge "ARM: dts: msm: update VDD_APC1 CPR margin adjustments for msmcobalt"
Linux Build Service Account [Wed, 13 Jul 2016 22:45:23 +0000 (15:45 -0700)]
Merge "ARM: dts: msm: update VDD_APC1 CPR margin adjustments for msmcobalt"

8 years agoMerge "ARM: dts: msm: enable qcom,no-smr-check for mmss smmu for msmcobalt"
Linux Build Service Account [Wed, 13 Jul 2016 22:45:21 +0000 (15:45 -0700)]
Merge "ARM: dts: msm: enable qcom,no-smr-check for mmss smmu for msmcobalt"

8 years agoMerge "icnss: Add support for suspend/resume"
Linux Build Service Account [Wed, 13 Jul 2016 22:45:20 +0000 (15:45 -0700)]
Merge "icnss: Add support for suspend/resume"

8 years agoMerge "msm: mdss: Fix AD backlight configuration"
Linux Build Service Account [Wed, 13 Jul 2016 22:45:19 +0000 (15:45 -0700)]
Merge "msm: mdss: Fix AD backlight configuration"

8 years agoMerge "defconfig: msmcortex: Enable USB audio QMI service driver"
Linux Build Service Account [Wed, 13 Jul 2016 22:45:18 +0000 (15:45 -0700)]
Merge "defconfig: msmcortex: Enable USB audio QMI service driver"

8 years agoMerge "usb: gadget: f_gsi: Increase USB GSI OUT TRBs from 7 to 31 for ECM"
Linux Build Service Account [Wed, 13 Jul 2016 22:45:17 +0000 (15:45 -0700)]
Merge "usb: gadget: f_gsi: Increase USB GSI OUT TRBs from 7 to 31 for ECM"

8 years agoMerge "usb: dwc3: Change dwc3 irq to oneshot threaded irq"
Linux Build Service Account [Wed, 13 Jul 2016 22:45:16 +0000 (15:45 -0700)]
Merge "usb: dwc3: Change dwc3 irq to oneshot threaded irq"

8 years agoMerge "msm: ipa3: support 64bitmask with SMMU attached"
Linux Build Service Account [Wed, 13 Jul 2016 22:45:16 +0000 (15:45 -0700)]
Merge "msm: ipa3: support 64bitmask with SMMU attached"

8 years agoMerge "ASoC: wcd9335: Remove pop on bring-up of noise cancelling headset"
Linux Build Service Account [Wed, 13 Jul 2016 22:45:15 +0000 (15:45 -0700)]
Merge "ASoC: wcd9335: Remove pop on bring-up of noise cancelling headset"

8 years agoMerge "defconfig: arm64: msm: Disable uid statistics"
Linux Build Service Account [Wed, 13 Jul 2016 22:45:14 +0000 (15:45 -0700)]
Merge "defconfig: arm64: msm: Disable uid statistics"

8 years agoMerge "clk: msm: clock-gpu-cobalt: Support running the gfx3d_isense clock at XO"
Linux Build Service Account [Wed, 13 Jul 2016 22:45:13 +0000 (15:45 -0700)]
Merge "clk: msm: clock-gpu-cobalt: Support running the gfx3d_isense clock at XO"

8 years agoMerge "msm: ipa: print resource bandwidth in ipa rm"
Linux Build Service Account [Wed, 13 Jul 2016 22:45:12 +0000 (15:45 -0700)]
Merge "msm: ipa: print resource bandwidth in ipa rm"

8 years agoMerge "msm: vidc: Fix an issue with high bitrate playback"
Linux Build Service Account [Wed, 13 Jul 2016 22:45:11 +0000 (15:45 -0700)]
Merge "msm: vidc: Fix an issue with high bitrate playback"

8 years agoMerge "msm: mdss: hdmi: parse High Dynamic Range (HDR) metadata"
Linux Build Service Account [Wed, 13 Jul 2016 22:45:10 +0000 (15:45 -0700)]
Merge "msm: mdss: hdmi: parse High Dynamic Range (HDR) metadata"

8 years agoMerge "leds: qpnp-flash-v2: Separate switch node disable sequence"
Linux Build Service Account [Wed, 13 Jul 2016 22:45:09 +0000 (15:45 -0700)]
Merge "leds: qpnp-flash-v2: Separate switch node disable sequence"

8 years agoMerge "ARM: dts: msm: Add switch nodes to pmicobalt"
Linux Build Service Account [Wed, 13 Jul 2016 22:45:08 +0000 (15:45 -0700)]
Merge "ARM: dts: msm: Add switch nodes to pmicobalt"

8 years agoMerge "leds: qpnp-flash-v2: Add support for multiple switch nodes"
Linux Build Service Account [Wed, 13 Jul 2016 22:45:07 +0000 (15:45 -0700)]
Merge "leds: qpnp-flash-v2: Add support for multiple switch nodes"