WSL2-Linux-Kernel/arch/arm/mach-msm
Stephen Boyd 73a8c28f16 ARM: msm: Fix uncompess.h tx underrun check
Bit 3 of the SR register is set if there is a tx underrun. If
this bit isn't set, we should loop on the tx ready bit until we
can transmit again. Otherwise we should skip the loop and
transmit immediately. The code is doing the opposite though,
checking for an underrun and then looping on the tx ready bit
causing us to never loop on the tx read bit when the tx buffer
may not be ready.

This doesn't seem to affect my 8960 device too often, but in some
cases I see a lost character or two from the decompressor prints.
This also matches what we do in the assembly in debug-macro.S.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
2013-04-11 09:40:35 -07:00
..
include/mach ARM: msm: Fix uncompess.h tx underrun check 2013-04-11 09:40:35 -07:00
Kconfig ARM: config: sort select statements alphanumerically 2012-10-13 17:11:28 +01:00
Makefile These patches migrate both the 8660 and 8960 targets on msm to be 2012-09-16 18:03:50 -07:00
Makefile.boot ARM: dtb: move all dtb targets to common Makefile 2012-09-20 22:58:17 -07:00
board-dt-8660.c Initial irqchip init infrastructure and GIC and VIC clean-ups 2013-01-14 19:55:03 -08:00
board-dt-8960.c Initial irqchip init infrastructure and GIC and VIC clean-ups 2013-01-14 19:55:03 -08:00
board-halibut.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
board-mahimahi.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
board-msm7x30.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
board-qsd8x50.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
board-sapphire.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
board-trout-gpio.c arm: Fold irq_set_chip/irq_set_handler 2011-03-29 14:47:58 +02:00
board-trout-mmc.c ARM: msm: move platform_data definitions 2012-09-14 11:17:35 +02:00
board-trout-panel.c ARM: msm: move platform_data definitions 2012-09-14 11:17:35 +02:00
board-trout.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
board-trout.h
clock-7x30.h
clock-debug.c
clock-pcom.c ARM: msm: clock-pcom: Mark functions static 2012-09-13 10:45:02 -07:00
clock-pcom.h
clock.c PM QoS: Move and rename the implementation files 2011-08-25 15:35:03 +02:00
clock.h
common.h ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
core.h ARM: SoC: convert MSM to SMP operations 2012-09-14 11:14:57 +02:00
devices-iommu.c iommu/msm: Fix compile error in mach-msm/devices-iommu.c 2011-12-06 11:17:34 +01:00
devices-msm7x00.c ARM: msm: move platform_data definitions 2012-09-14 11:17:35 +02:00
devices-msm7x30.c ARM: msm: move platform_data definitions 2012-09-14 11:17:35 +02:00
devices-qsd8x50.c ARM: msm: move platform_data definitions 2012-09-14 11:17:35 +02:00
devices.h
dma.c ARM: msm: dma: use list_move_tail instead of list_del/list_add_tail 2012-09-13 11:12:50 -07:00
gpiomux-8x50.c
gpiomux-8x60.c
gpiomux-v1.c
gpiomux-v1.h
gpiomux-v2.c
gpiomux-v2.h
gpiomux.c
gpiomux.h msm: gpiomux: Move public API to public header 2011-08-01 04:58:00 -07:00
headsmp.S ARM: msm: Add missing ENDPROC to headsmp.S 2012-01-16 08:36:02 -06:00
hotplug.c ARM: msm: Move core.h contents into common.h 2012-09-22 00:16:25 -07:00
io.c ARM: soc: board specific updates 2012-10-01 18:48:30 -07:00
irq-vic.c arm: Fold irq_set_chip/irq_set_handler 2011-03-29 14:47:58 +02:00
irq.c arm: Fold irq_set_chip/irq_set_handler 2011-03-29 14:47:58 +02:00
last_radio_log.c
platsmp.c irqchip: Move ARM gic.h to include/linux/irqchip/arm-gic.h 2013-01-12 10:47:32 -06:00
proc_comm.c ARM: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
proc_comm.h ARM: msm: proc_comm_boot_wait should not be __init 2013-02-11 17:42:28 -08:00
scm-boot.c
scm-boot.h
scm.c ARM: msm: fix compilation flags for MSM_SCM (part 2) 2012-05-11 11:08:37 -07:00
scm.h
sirc.c arm: Fold irq_set_chip/irq_set_handler 2011-03-29 14:47:58 +02:00
smd.c ARM: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
smd_debug.c ARM: msm: use machine specific hook for late init 2012-05-08 20:36:17 +08:00
smd_private.h
timer.c ARM: msm: Stop counting before reprogramming clockevent 2013-03-22 10:45:39 -07:00
vreg.c ARM: msm: vreg is a module and so needs module.h 2012-01-06 11:07:57 -08:00