The lower power mode flag is not updated after the interrupts
have been disabled during FM turn Off operation. This causes the
interrupts to not to be enabled during next FM turn On
operation and this results in GPIO not toggling for XFR operations.
Change-Id: I0f2199292b570f1add2bc23c9cf6bcd480781c03
CRs-Fixed: 344780
Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>
WARNING: vmlinux.o(.text+0x4830fc): Section mismatch in reference
from the function hwinit_worker() to the function
.devinit.text:smb349_hwinit()
The function hwinit_worker() references
the function __devinit smb349_hwinit().
This is often because hwinit_worker lacks a __devinit
annotation or the annotation of smb349_hwinit is wrong.
Change-Id: Id42f1fd3c27a7773d36659b4839b881fadbb9ff9
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
The diag code is improperly using the __init/__exit markings and
calling functions that don't exist at certain times. Remove the
init and exit markings as these functions are used from both init
and exit context. Note another solution is possible where init
functions are only called from init functions but that would
break the error handling here so we just remove the markings for
simplicity.
Change-Id: I86677b74676871504b1b47f21c92002757ae194a
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
By the time the panic notifiers have run, all the useful
information for debugging purposes has already been collected.
Stop logging during panic so useful information doesn't get
flooded out.
Change-Id: I7e23db3d6d3dfaf53cad86b2949a550d7cf218d1
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
The pcm clock can source from either the internal mn counter or
the external codec input from a gpio. Support setting the rate of
the pcm clock to zero to support the external codec input. A
non-zero rate signifies use of the mn counter.
Change-Id: I6831dfea5f8fec6ee9330342edb7dcaeff4b33d4
CRs-fixed: 352645
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
- Add support for slimbus rx and tx channels
between external modem and APQ.
- Use the slimbus rx channel to route audio packets
from APQ to external modem for music delivery to
far-end during a voice call.
- Use the slimbus tx channel to route the voice packets
from external modem to APQ to record to a file.
- Add mixer control to set mono or stereo recording.
Change-Id: Ice6315de19bf0e2a8d7bd55973976b3c320f1984
Signed-off-by: Helen Zeng <xiaoyunz@codeaurora.org>
Add support for H1V1 interleave (YUV444) to rotator
Change-Id: I772ff1823e3c9acf046d339c3a1eeb1ab324b279
Signed-off-by: Kyong Hwa Bae <kbae@codeaurora.org>
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
Add support for H1V1 interleave (YUV444) to mdp
Change-Id: I86b76831ad87dede90ddd8d8f5ae64e51fa28c27
Signed-off-by: Kyong Hwa Bae <kbae@codeaurora.org>
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
Observed unhandled virtual addresses with all the camera drivers
while performing reads and writes to the ioremap addresses in different
scenarios, Hence assigining NULL to all the hardware remapped addresses
immediately after the iounmap calls
Change-Id: I1cbb3969db449c5c37ee6cb5d85cc5715d991f19
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Make sure the context is intact when the events are canceled. Since
the timestamps are now per-context, readtimestamp requires a valid
context.
Change-Id: I0c917a77f2e39594a5f5b69985f639de1fb53206
Signed-off-by: Lynus Vaz <lvaz@codeaurora.org>
These tables were only used on pre-silicon development platforms
that are no longer supported. They have also fallen out of sync
with respect to the real tables in clock-8960.c. Delete the dummy
tables because they are no longer useful.
Change-Id: I57c126cc6e9bf5e11fa76bb537ddd25af7c9e331
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
If SDIO slot is using the dedicated MSM pins rather than GPIO
pins then SDIO wakeup interrupt configuration would require
calling msm_mpm_* APIs. For such slots, let's indicate this
by setting a "mpm_sdiowakeup_int" platform entry to appropriate
MPM interrupt number. SDCC will use this entry to call
msm_mpm_* APIs when required.
Change-Id: I8fbeb9bd54c68f0285427d5754444818b66e6e4f
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
ppss_p_clk is used by the msm_dsps device, so mark it as such. Also
change the string name of the clock to "iface_clk" to match the naming
convention used for other clocks.
Change-Id: I035e6832a346561a999b6ea791754feb709a3bca
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
Resolve video playback suspend/resume IOMMU page fault by
unstaging video layer on VG pipes from primary mixer H/W during
overlay_unset calls immediately at the next vsync boundary
CRs-Fixed: 350371
Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
Change-Id: Ia1b2369005db500b5042d3226cf8d43027783fe3
Rename SDCC device names to msm_sdcc.[slot] as opposed to
device tree address,sdcc format to be consistent with
non-device tree targets. This allows compatibility with
existing userspace applications that require direct
access to specific SDCC slot in a target-independent
manner.
Change-Id: I6012e7a104d1ee3da88e4bca8fa83a60014dda38
Signed-off-by: David Ng <dave@codeaurora.org>
MDP need to be in idle state before switching to different mode.
Dmap_done interrupt is delivered when the last line of frame is
clocked out. Therefore mdp is in idle state during dmap_done ISR.
This patch execute mdp mode switching inside dmap_done ISR.
Therefore timing generator is not necessary to be turned off
since mdp is in idle state already.
CRs-fixed: 350154
Change-Id: Ib10557bde90856ffd5284a0a76dddbe92f2abc0e
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>