android_kernel_samsung_a7y1.../drivers
Matt Redfearn 6f47386846 drm/bridge: adv7511: Fix low refresh rate selection
[ Upstream commit 67793bd3b3948dc8c8384b6430e036a30a0ecb43 ]

The driver currently sets register 0xfb (Low Refresh Rate) based on the
value of mode->vrefresh. Firstly, this field is specified to be in Hz,
but the magic numbers used by the code are Hz * 1000. This essentially
leads to the low refresh rate always being set to 0x01, since the
vrefresh value will always be less than 24000. Fix the magic numbers to
be in Hz.
Secondly, according to the comment in drm_modes.h, the field is not
supposed to be used in a functional way anyway. Instead, use the helper
function drm_mode_vrefresh().

Fixes: 9c8af882bf12 ("drm: Add adv7511 encoder driver")
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Matt Redfearn <matt.redfearn@thinci.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190424132210.26338-1-matt.redfearn@thinci.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-06 19:01:51 +02:00
..
accessibility
acpi
amba
android Revert "binder: Replace "%p" with "%pK" for stable" 2020-04-06 18:52:40 +02:00
ata libata: fix using DMA buffers on stack 2020-04-06 16:41:42 +02:00
atm
auxdisplay
base PM / core: Propagate dev->power.wakeup_path when no callbacks 2020-04-06 18:19:21 +02:00
battery
battery_v2
bcma
block xsysace: Fix error handling in ace_setup 2020-04-06 16:42:28 +02:00
bluetooth
bts
bus
ccic
cdrom
char virtio_console: initialize vtermno value for ports 2020-04-06 18:20:12 +02:00
clk clk: tegra: Fix PLLM programming on Tegra124+ when PMC overrides divider 2020-04-06 18:13:50 +02:00
clocksource
connector
cpufreq cpufreq: pmac32: fix possible object reference leak 2020-04-06 18:19:31 +02:00
cpuidle
crypto crypto: vmx - ghash: do nosimd fallback manually 2020-04-06 18:20:52 +02:00
dca
devfreq
dio
dma dmaengine: at_xdmac: remove BUG_ON macro in tasklet 2020-04-06 18:18:35 +02:00
dma-buf
edac
eisa
extcon extcon: arizona: Disable mic detect if running when driver is removed 2020-04-06 18:19:23 +02:00
fingerprint
firewire
firmware
five
fmc
fpga
gator
gpio
gps
gpu drm/bridge: adv7511: Fix low refresh rate selection 2020-04-06 19:01:51 +02:00
gud
hid HID: core: move Usage Page concatenation to Main item 2020-04-06 18:20:00 +02:00
hsi
hv
hwmon hwmon: (f71805f) Use request_muxed_region for Super-IO accesses 2020-04-06 18:19:12 +02:00
hwspinlock
hwtracing intel_th: msu: Fix single mode with IOMMU 2020-04-06 18:13:40 +02:00
i2c
ide
idle
iio iio: common: ssp_sensors: Initialize calculated_time in ssp_common_process_data 2020-04-06 18:19:39 +02:00
infiniband RDMA/cxgb4: Fix null pointer dereference on alloc_skb failure 2020-04-06 18:19:02 +02:00
input Input: snvs_pwrkey - initialize necessary driver data before enabling IRQ 2020-04-06 16:42:41 +02:00
iommu iommu/tegra-smmu: Fix invalid ASID bits on Tegra30/114 2020-04-06 18:13:56 +02:00
ipack
irqchip
isdn
leds
lguest
lightnvm
macintosh
mailbox
mcb
md bcache: avoid clang -Wunintialized warning 2020-04-06 18:18:21 +02:00
media media: uvcvideo: Fix uvc_alloc_entity() allocation alignment 2020-04-06 18:44:58 +02:00
memory memory: tegra: Fix integer overflow on tick value calculation 2020-04-06 18:14:02 +02:00
memstick
message
mfd mfd: twl6040: Fix device init errors for ACCCTL register 2020-04-06 19:01:47 +02:00
misc genwqe: Prevent an integer overflow in the ioctl 2020-04-06 18:45:18 +02:00
mmc mmc: sdhci-of-esdhc: add erratum eSDHC-A001 and A-008358 support 2020-04-06 18:19:19 +02:00
motor
mtd
muic
net net/mlx4_en: ethtool, Remove unsupported SFP EEPROM high pages query 2020-04-06 18:45:04 +02:00
nfc
ntb
nubus
nvdimm libnvdimm/btt: Fix a kmemdup failure check 2020-04-06 16:43:30 +02:00
nvme
nvmem
of
oprofile
parisc parisc: Use implicit space register selection for loading the coherence index of I/O pdirs 2020-04-06 18:45:12 +02:00
parport
pci PCI: Mark Atheros AR9462 to avoid bus reset 2020-04-06 18:14:25 +02:00
pcmcia
perf
phy
pinctrl pinctrl: pistachio: fix leaked of_node references 2020-04-06 18:18:33 +02:00
platform platform/x86: sony-laptop: Fix unintentional fall-through 2020-04-06 16:43:22 +02:00
pnp
power power: supply: sysfs: prevent endless uevent loop with CONFIG_POWER_SUPPLY_DEBUG 2020-04-06 18:14:39 +02:00
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc rtc: 88pm860x: prevent use-after-free on device remove 2020-04-06 18:15:42 +02:00
s390 scsi: zfcp: fix to prevent port_remove with pure auto scan LUNs (only sdevs) 2020-04-06 18:21:26 +02:00
sbus
scsi scsi: lpfc: Fix SLI3 commands being issued on SLI4 devices 2020-04-06 18:20:27 +02:00
security/samsung/icdrv
sensorhub
sensors
sfi
sh
sn
soc
spi spi: Fix zero length xfer bug 2020-04-06 18:20:33 +02:00
spmi
ssb ssb: Fix possible NULL pointer dereference in ssb_host_pcmcia_exit 2020-04-06 18:15:20 +02:00
staging iio: hmc5843: fix potential NULL pointer dereferences 2020-04-06 18:19:37 +02:00
switch
target
tc
tee
thermal
thunderbolt
trace
tty tty: max310x: Fix external crystal register setup 2020-04-06 18:21:35 +02:00
uh
uio
usb USB: rio500: fix memory leak in close after disconnect 2020-04-06 18:21:16 +02:00
uwb
vfio vfio/pci: use correct format characters 2020-04-06 16:42:19 +02:00
vhost
video fbdev: fix WARNING in __alloc_pages_nodemask bug 2020-04-06 18:15:14 +02:00
virt drivers/virt/fsl_hypervisor.c: prevent integer overflow in ioctl 2020-04-06 17:01:49 +02:00
virtio
vision
vlynq
vme
w1 w1: fix the resume command API 2020-04-06 18:15:45 +02:00
watchdog
xen fs: stream_open - opener for stream-like files so that read and write can run simultaneously without deadlock 2020-04-06 18:47:45 +02:00
zorro
Kconfig
Makefile