USB device can specify remote wakeup capability in the configuration
descriptor. Host may select remote wakeup feature before suspending
the device. Remote wakeup capability is disabled by default in
android gadget. Provide sysfs file for enabling remote wakeup capability.
User space can enable/disable this capability based on the selected
composition. This will also allow testing suspend/resume chapter 9 tests
with remote wakeup enabled.
Change-Id: Ib24aa6c05ace697564ebe5940e62e8f65db4d7c3
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
As discussed previously, there's the need on some platforms to run some
parts of clk_enable() in contexts which can schedule. The solution
which was agreed upon was to provide clk_prepare() and clk_unprepare()
to contain this parts, while clk_enable() and clk_disable() perform
the atomic part.
This patch provides a common definition for clk_prepare() and
clk_unprepare() in linux/clk.h, and provides an upgrade path for
existing implementation and drivers: drivers can start using
clk_prepare() and clk_unprepare() once this patch is merged without
having to wait for platform support. Platforms can then start to
provide these additional functions.
Eventually, HAVE_CLK_PREPARE will be removed from the kernel, and
everyone will have to provide these new APIs.
Change-Id: Ib9d24a7a0fdb571d392b970b1c159acabb07b365
Acked-by: Saravana Kannan <skannan@codeaurora.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
This tty device exposes the SDIO_CSVT channel to user space.
It serves as a data channel for video telephony.
Change-Id: Idc3dd892a0fcb450084a2af9da8e95c2d842c5ab
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
The deadlock is in-direct result of the log.wtf message coming
with file not found exception on /proc/net/xt_qtaguid/stats and
this can be avoided with enabling the
CONFIG_NETFILTER_XT_MATCH_QTAGUID
CRs-fixed: 322084
Change-Id: I88b13b5d0eba8c7164938f1eebbf4b01eafd6b69
Signed-off-by: Adinarayana Gupta Grandhi <agrandhi@codeaurora.org>
Signed-off-by: Ramakrishna Prasad N <crpn@codeaurora.org>
USB PHY takes TCXO clock as input and using the PHY internal PLL,
gets the 480MHz clock for USB operations. While USB PHY is suspended,
the TCXO clock can be turned off.
On 8960 target, mandating that TCXO clock users must need to vote for
TCXO and if all the users vote for TCXO clock-off, then MSM can switch to
lower power clock and can run.
Change-Id: Ia9a91bca52a1003439a3a38bbd8eb835dbf349e1
Signed-off-by: Anji jonnala <anjir@codeaurora.org>
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
FM configuration failure is due to two issues. Since the calibration
will take around 6 seconds to complete, any commands sent to SOC
during that time will fail.Added a state machine to prevent the
execution of another command while FM calibration is in progress.
The other issues is with the Get tuner command.FM kernel driver is
sending the Rx specific command to get the Tx configuration.
Send the proper command to get the TX configuration parameters.
CRs-Fixed: 317658
Change-Id: I54e637c267cbdb88d15d68d8ad7ceb72f985c54d
Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Currently, Ion registers all debugfs entries for clients
via pid. If there are multiple kernel clients, this means
the debugfs entry only gets created for the first one. Fix
this by creating debugfs entries by name always. When
creating user clients, specify the name via the pid.
Change-Id: I00cbb284d1c53b3362bb7be9c0275620a9fac167
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Because the IBs used for context switching are not allocated
by userspace, a separate search is needed to find them
in adreno_find_region.
Change-Id: I4c2a180333ae54ecbf257fd8c90ec2e3f748ad95
Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
Some hangs are fooling the postmortem dump code into
running off the end of a buffer. Fix this by making
its bounds check logic work better by reusing the
logic from kgsl_find_region().
CRs-Fixed: 319312
Change-Id: If6cc01369f4b0634d7e19494b8d021643abb8a39
Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
Enable defconfig option required for timechart.
When this tool is not in use, this option does not cause
any statistically significant overhead.
Change-Id: I5605228c35af43e0b363db859a739f3f515b708e
Signed-off-by: Neil Leeder <nleeder@codeaurora.org>
Change cp_access to be built in instead of a module to
reduce user intervention to use this tool.
Change-Id: I4864caa088fae0c4afe9403ceccb911be965e7d7
Signed-off-by: Neil Leeder <nleeder@codeaurora.org>
Make Kprobes built in to reduce user intervention to use tools
which use it.
When not in use, enabling this option does not produce any
statistically significant overhead.
Change-Id: Ifa9690ae01b3370e40aecae4fc7f96b4e8966e28
Signed-off-by: Neil Leeder <nleeder@codeaurora.org>
Regulators are disabled in the power_on() call-back.
Change-Id: I7bf09d91910c2c6de65265319b1bebffd3b8b703
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
This change disables all the HDCP interrupts upon de-authentication.
In addition, we also clear the HDCP AUTH_FAIL_INFO register upon
processing the AUTH_FAIL_INT interrupt. This is required for passing
HDCP compliance for MSM8960
Change-Id: Iefe544c8c972e4d3b5fa4ccdd513c411d1781b3d
CRs-Fixed: 321221
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
Add support for the initial Kraitv2 frequency plan. 1.512GHz CPU and
1.188GHz L2 speeds are known to be good.
Change-Id: I6754736f331cdda56eed7e39ab38b1ab8b496912
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>