Add the config entry to set the MaxPower to 900mA to accommodate
Super Speed and above.
Change-Id: I7e002b4942d1f5548c6d3281ac89e74f633b5723
Signed-off-by: Elson Roy Serrao <eserrao@codeaurora.org>
Currently 500mA is used as max allowable current to draw over
USB VBUS. However in SuperSpeed a gadget may draw up to 900mA
Update the CONFIG_USB_GADGET_VBUS_DRAW's allowable range to
be up to 900.
Change-Id: I781308065b30b260437f7b3180e276f6a657f504
Signed-off-by: Elson Roy Serrao <eserrao@codeaurora.org>
Qcom SDHC uses base clock in calculating the data-timeout
value. So SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK quirk is set.
Moreover discard size calculation uses max_busy_timeout in deriving the
value. So, we can ensure a larger discard size by setting this
timeout as zero. If this timeout is zero then it takes max erase
timeout vlaue (which is 60sec) in the discard size calculation.
But when this quirk is set max_busy_timeout variable gets updated
to non zero value leading to smaller discard size.
Define get_max_timeout_count ops in sdhci_msm_ops which always sets
max_busy_timeout to zero.
Change-Id: Iec6013dde6082b2a8fdb449cacf503c290252d0b
Signed-off-by: Sarthak Garg <sartgarg@codeaurora.org>
Enable communication with secure world on gen3auto
targets.
Change-Id: I72a6227d5b2ca4825cb7614055163bffb4245eea
Signed-off-by: Shreyas K K <shrekk@codeaurora.org>
Add master and slave ID constants for all Qualcomm Technologies, Inc.
SM6150 interconnect providers which consumers can use to set bandwidth
constraints and find paths in the NoC (Network-On-Chip) topology.
Change-Id: I883cee60db070c45191b1a7ecec07f90a2c49190
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
The ufs_reset pin is expected to be wired to the reset pin of the
primary UFS memory but is pretty much just a general purpose output pin.
Reorder the pins and expose it as gpio 204, so that the UFS driver can
toggle it.
Change-Id: Ia891c0d817b1176df840ea3774776e57497a837f
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
Add GPIO to PDC wakeirq map and update the direct connect
list.
Change-Id: I12f368d840d22fc2e45a70a3abfc45a00cb3848b
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
When uploading a constant effect after stopping FIFO play, the effect
pointer in haptics_play_info structure will be set to NULL. If there
is any pending fifo-empty IRQ gets served after that, it will trigger
a NULL pointer dereference issue. To avoid this, check the playing
effect pointer before use it in the IRQ handler.
Change-Id: Iacfea5e48d0a9519fa2c930ec821e395c43b6281
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
BHIe table size is printed incorrectly as unsigned long.
size is of type size_t hence use %zu instead of %lu.
Change-Id: Ic52bc6ea92e6dac8bd1e275f9a17986d08e2da79
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
This lock protects against any concurrent governor re-assignments
through sysfs. Furthermore, such re-assignment can lead to another
issue i.e. say someone assigns performance governor to this device
from sysfs. Then there can be a mismatch in what kgsl intends to
vote, and what actually gets voted. Therefore, fix both the min and
max frequencies for this devfreq device at the desired qos level so
that the intended vote is propagated regardless of the governor.
Change-Id: Ibc3b0ef1f585dae311aab028d8c2bc9f1a53b4b8
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>