Commit graph

576674 commits

Author SHA1 Message Date
Hemant Kumar
2a1d099062 usb: xhci: Clear event handler busy flag upon event ring cleanup
There is a possibility of unacknowledged pending interrupt at the time
of secondary event ring cleanup. As a result xHC does not generate any
interrupt further because event handler busy flag is set. Hence disable
interrupter to prevent any further interrupt, acknowledge any pending
interrupt and clear event handler busy flag. This allows xHC to generate
interrupt after setting up new event ring.

Change-Id: I1b1791eacbf7afffd101d56d0ae06fe237b8c076
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-11-03 16:53:45 -07:00
Linux Build Service Account
758693b4a6 Merge "usb: pd: Avoid calling SVID disconnect if not previously connected" 2016-11-03 06:24:06 -07:00
Linux Build Service Account
ddb7835f5f Merge "ASoC: wcd934x-dsp-cntl: Add misc device to control codec dsp" 2016-11-03 06:24:05 -07:00
Linux Build Service Account
ce631fb608 Merge "drivers: qcom: ultrasound: Lock async driver calls" 2016-11-03 06:24:02 -07:00
Linux Build Service Account
9da5130045 Merge "drivers: soc: Add new parameters for APR IPC logging" 2016-11-03 06:24:01 -07:00
Linux Build Service Account
d39cd55f06 Merge "ASoC: msm: qdsp6v2: Change audio drivers to use %pK" 2016-11-03 06:23:58 -07:00
Linux Build Service Account
475e375e99 Merge "ASoC: wcd934x: Update OCP connection attempts" 2016-11-03 06:23:57 -07:00
Linux Build Service Account
086c9df600 Merge "clk: Add support to vote to regulator framework from clk framework" 2016-11-03 06:23:57 -07:00
Linux Build Service Account
71f578efa8 Merge "ASoC: msmcobalt: Initialize variable to default value" 2016-11-03 06:23:55 -07:00
Linux Build Service Account
f319f3de8b Merge "ASoC: msm: qdsp6v2: Index check for out of range" 2016-11-03 06:23:55 -07:00
Linux Build Service Account
79ef787822 Merge "msm: camera: isp: Fix reset sequence on stop" 2016-11-03 06:23:53 -07:00
Linux Build Service Account
e1f711f8e0 Merge "usb: pd: Implement RX message queuing" 2016-11-02 22:38:48 -07:00
Linux Build Service Account
81d5b6b5da Merge "usb: dwc3: Draw 100mA upon host bus reset" 2016-11-02 22:38:48 -07:00
Linux Build Service Account
39a4ec35cc Merge "sound: usb: Map audio format received from QMI client" 2016-11-02 22:38:47 -07:00
Linux Build Service Account
c16a50bf49 Merge "selinux: nlmsgtab: add SOCK_DESTROY to the netlink mapping tables" 2016-11-02 22:38:44 -07:00
Stephen Boyd
2ac3d304b9 clk: Add support to vote to regulator framework from clk framework
Add vdd_class support which would help vote/unvote for any voltage rail
for the clock frequency to the regulator framework. A clock client request
for a clock frequency would look for the corresponding voltage vote and
would be send the request to regulator framework.

Change-Id: I5b1229091fcb7b3887b54735b9663fd31a35db21
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2016-11-03 09:16:56 +05:30
Jack Pham
64d72675d7 usb: pd: Avoid calling SVID disconnect if not previously connected
Only call an SVID handler's disconnect function only if it was
previously connected, i.e. when the state machine had proceeded
received a successful DISCOVER_SVIDs response. This helps to
avoid excessive notification to SVID clients.

While at it, require that .connect and .disconnect callbacks
are supplied during registration. This helps to eliminate NULL
checks each time they are called.

Change-Id: I030153a6b2106a6504ed51b5cb00a27f842e2488
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2016-11-02 20:22:11 -07:00
Phani Kumar Uppalapati
7ed173e8fc ASoC: wcd934x: Update OCP connection attempts
Update headphone OCP (Over Current Protection)
connection attempts to 2 to avoid hardware state
machine getting stuck in OCP state even after
reset.

CRs-Fixed: 1083736
Change-Id: I69e37a93418b99a187c7b46cf62524c5fc4901f2
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2016-11-02 17:04:01 -07:00
Sudheer Papothi
c8c16b7406 drivers: qcom: ultrasound: Lock async driver calls
Adds lock to ioctl and other external calls to driver.
Adds missing null check in __usf_set_stream_param.

Change-Id: I142f31c6bb46d6a394ad012077e1703875a120ad
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2016-11-02 16:40:43 -07:00
Bhalchandra Gajare
600e3c659b ASoC: wcd934x-dsp-cntl: Add misc device to control codec dsp
The codec DSP needs to be enabled only when there is use case that
utilizes the DSP. This way the codec DSP can be shutdown when it
is not used. Change adds misc device node that the user space can
use to trigger boot and shutdown of DSP.

CRs-Fixed: 1085213
Change-Id: Ie8bb9ed903e46b0914b4ba2630efa864c751c29b
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2016-11-02 15:19:39 -07:00
Hemant Kumar
a77a2e80e7 usb: dwc3: Draw 100mA upon host bus reset
Upon host bus reset driver draws 0mA and switches
to higher value 900/500 mA after moving to configured
state. This causes a glitch in the led and battery icon
status. Hence request to draw 100mA to void the glitch.

Change-Id: Id570e427d40d08e29cad7cb74be426bf218d00ee
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-11-02 14:54:30 -07:00
Linux Build Service Account
8a4f90bd10 Merge "soc: qcom: scm: add check to avoid buffer overflow" 2016-11-02 14:41:43 -07:00
Linux Build Service Account
1057dedd40 Merge "driver core: fix race between creating/querying glue dir and its cleanup" 2016-11-02 14:41:41 -07:00
Linux Build Service Account
8a4e6fcee3 Merge "msm: secure_buffer: fix scm call argument layout" 2016-11-02 14:41:40 -07:00
Linux Build Service Account
875dca44ef Merge "cfg80211: support virtual interfaces with different beacon intervals" 2016-11-02 14:41:39 -07:00
Linux Build Service Account
0959fcfffd Merge "ARM: dts: msm: add support for QBT1000 on msmcobalt" 2016-11-02 14:41:38 -07:00
Linux Build Service Account
4e38e151ea Merge "ARM: dts: msm: specify SPI configuration for msmfalcon." 2016-11-02 14:41:37 -07:00
Linux Build Service Account
46f563dcc0 Merge "leds: qpnp-flash-v2: Fix strobe control settings" 2016-11-02 14:41:37 -07:00
Linux Build Service Account
0d24d9472f Merge "ARM: dts: msm: Add initial support for msmcobalt V2 QRD SKUK board" 2016-11-02 14:41:36 -07:00
Linux Build Service Account
1bd40bfda3 Merge "ARM: dts: msm: correct cpu nodes information for msmtriton" 2016-11-02 14:41:35 -07:00
Linux Build Service Account
4b37769e9e Merge "sched/hmp: Automatically add children threads to colocation group" 2016-11-02 14:41:34 -07:00
Linux Build Service Account
adfb89a493 Merge "dwc3: gadget: Remove disabling events and ep0 from gadget stop" 2016-11-02 14:41:33 -07:00
Linux Build Service Account
cf07c20103 Merge "ASoC: wcd934x: Initialize mbhc pointer before access" 2016-11-02 14:41:33 -07:00
Linux Build Service Account
d8ad28c008 Merge "ASoc: wcd934x: correct MAD micbias setting" 2016-11-02 14:41:32 -07:00
Linux Build Service Account
7a4ed459e7 Merge "usb_bam: Avoid uninitialized variable errors" 2016-11-02 14:41:31 -07:00
Linux Build Service Account
59f5ac9019 Merge "clk: msm: clock-debug: Print VDD level in clock_state traces" 2016-11-02 14:41:30 -07:00
Linux Build Service Account
72b163627a Merge "msm: vidc: Scale bus bw along with venus clocks" 2016-11-02 14:41:29 -07:00
Linux Build Service Account
137f201d51 Merge "Revert "init: do_mounts: Add a dummy definition for dm_table_put"" 2016-11-02 14:41:27 -07:00
Linux Build Service Account
f505d0d4f0 Merge "coresight: tmc: avoid null pointer dereference" 2016-11-02 14:41:26 -07:00
Linux Build Service Account
ca13239ffd Merge "msm: mdss: lock mutex before setting backlight" 2016-11-02 14:41:24 -07:00
Linux Build Service Account
0e0667d15e Merge "ion: disable system contig heap" 2016-11-02 14:41:23 -07:00
Linux Build Service Account
7774b2db99 Merge "msm: camera: cpp: Validate frame message before manipulating it." 2016-11-02 14:41:22 -07:00
Hemant Kumar
23b3d4b4de sound: usb: Map audio format received from QMI client
Audio format received from QMI client are not one to one
mapped to pcm format defined by ALSA driver. This causes
format mismatch when QMI client request a format not
defined by ALSA driver. Fix this by creating a mapping
between two formats.

Change-Id: I0f08dd57fa39d385369ef4886d12e8ea77c6ebc0
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-11-02 12:21:18 -07:00
Linux Build Service Account
8992f7dd08 Merge "msm: vidc: Correct debugfs directory name" 2016-11-02 05:22:32 -07:00
Linux Build Service Account
132e00e993 Merge "ARM: dts: msm: Add qcom,dump-size entry for dumping CPU L1/L2 caches" 2016-11-02 05:22:31 -07:00
Linux Build Service Account
64f10bccf4 Merge "Documentation: arm: add cache DT bindings" 2016-11-02 05:22:30 -07:00
Purushottam Kushwaha
be04d39c8b cfg80211: support virtual interfaces with different beacon intervals
This commit provides a mechanism for the host drivers to advertise the
support for different beacon intervals among the respective interface
combinations in a group, through NL80211_IFACE_COMB_BI_MIN_GCD (u32).

This value will be compared against GCD of all beaconing interfaces of
matching combinations.

If the driver doesn't advertise this value, the old behaviour where
all beacon intervals must be identical is retained.

If it is specified, then any beacon interval for an interface in the
interface combination as well as the GCD of all active beacon intervals
in the combination must be greater or equal to this value.

Signed-off-by: Purushottam Kushwaha <pkushwah@qti.qualcomm.com>
[change commit message, some variable names, small other things]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git
Git-commit: 0c317a02ca982ca093e71bf07cb562265ba40032
CRs-fixed: 1025311
Change-Id: Ie432af1fefc79f88ec67d212f8b9880355c4266d
Signed-off-by: Purushottam Kushwaha <pkushwah@codeaurora.org>
[pkushwah@codeaurora.org: This commit also includes fix for memory leak
which was introduced by 0c317a02ca982ca093e71bf07cb562265ba40032
320c975f180b19296f0fd6c5bf2144e633aaba5e:
cfg80211: fix possible memory leak in cfg80211_iter_combinations()]
2016-11-02 04:22:03 -07:00
Lior Barenboim
9807d70133 ARM: dts: msm: add support for QBT1000 on msmcobalt
Add node for QBT1000 (fingerprint sensor) which defines the
clocks which are used by the driver and GPIOs which are used
to signal IPC messaging and finger detection.

Add pmcobalt entry for MTP for physical home-button GPIO.

Change-Id: I3eb92f83b42b0fa28dc73f6e0d4f74ef50375855
Signed-off-by: Lior Barenboim <liorb@codeaurora.org>
2016-11-02 12:17:04 +02:00
ansharma
c04ad37d1b leds: qpnp-flash-v2: Fix strobe control settings
Currently strobe control is cleared even when HW strobe control is not
explicitly enabled. Fix it.

CRs-Fixed: 1077179
Change-Id: I5bc6a5a46311206818d70567e31fd84adc0128be
Signed-off-by: ansharma <ansharma@codeaurora.org>
2016-11-02 13:05:10 +05:30
Mukesh Kumar Savaliya
e9f5e981bc ARM: dts: msm: specify SPI configuration for msmfalcon.
Initial support for all BLSP SPIs with default configuration
and disabled state such that clients can overwrite and enable
respective SPI instance as per need.

Change-Id: Ia60fc3ecb5c2aba19effe1c8242f2d89fdef3ebd
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
2016-11-02 11:42:06 +05:30