android_kernel_sony_sdm845/drivers
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Xingyu Chen 7ba01dcc8a watchdog: meson: Fix the wrong value of left time
[ Upstream commit 2c77734642d52448aca673e889b39f981110828b ]

The left time value is wrong when we get it by sysfs. The left time value
should be equal to preset timeout value minus elapsed time value. According
to the Meson-GXB/GXL datasheets which can be found at [0], the timeout value
is saved to BIT[0-15] of the WATCHDOG_TCNT, and elapsed time value is saved
to BIT[16-31] of the WATCHDOG_TCNT.

[0]: http://linux-meson.com

Fixes: 683fa50f0e ("watchdog: Add Meson GXBB Watchdog Driver")
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-12-05 15:34:10 +01:00
..
accessibility
acpi mm/memory_hotplug: make add_memory() take the device_hotplug_lock 2019-11-28 18:28:51 +01:00
amba
android ANDROID: binder: synchronize_rcu() when using POLLFREE. 2019-10-07 18:53:19 +02:00
ata ata: ep93xx: Use proper enums for directions 2019-11-25 09:53:29 +01:00
atm atm: zatm: Fix empty body Clang warnings 2019-11-28 18:28:32 +01:00
auxdisplay
base mm/memory_hotplug: Do not unlock when fails to take the device_hotplug_lock 2019-11-28 18:29:02 +01:00
bcma
block amiflop: clean up on errors during setup 2019-11-28 18:28:23 +01:00
bluetooth Bluetooth: Fix invalid-free in bcsp_close() 2019-11-28 18:29:02 +01:00
bus bus: arm-cci: remove unnecessary unreachable() 2018-12-05 19:42:41 +01:00
cdrom cdrom: Fix race condition in cdrom_sysctl_register 2019-04-05 22:29:12 +02:00
char virtio_console: move removal code 2019-11-28 18:29:05 +01:00
clk clk: at91: avoid sleeping early 2019-12-05 15:34:08 +01:00
clocksource clocksource/drivers/exynos_mct: Increase priority over ARM arch timer 2019-08-04 09:33:22 +02:00
connector
cpufreq cpufreq: Add NULL checks to show() and store() methods of cpufreq 2019-11-28 18:29:03 +01:00
cpuidle cpuidle: big.LITTLE: fix refcount leak 2019-02-12 19:44:55 +01:00
crypto crypto: mxs-dcp - Fix AES issues 2019-11-25 09:53:39 +01:00
dax
dca
devfreq PM / devfreq: passive: fix compiler warning 2019-10-05 12:30:29 +02:00
dio
dma dmaengine: ioat: fix prototype of ioat_enumerate_channels 2019-11-25 09:53:35 +01:00
dma-buf
edac EDAC/altera: Use the proper type for the IRQ status bits 2019-10-05 12:30:20 +02:00
eisa
extcon extcon: arizona: Disable mic detect if running when driver is removed 2019-05-31 06:48:26 -07:00
firewire
firmware gsmi: Fix bug in append_to_eventlog sysfs handler 2019-11-28 18:28:21 +01:00
fmc
fpga
gpio gpio: max77620: Fixup debounce delays 2019-11-28 18:28:05 +01:00
gpu drm/i915/cmdparser: Fix jump whitelist clearing 2019-11-12 19:16:24 +01:00
hid HID: intel-ish-hid: fix wrong error handling in ishtp_cl_alloc_tx_ring() 2019-11-12 19:15:55 +01:00
hsi
hv Drivers: hv: vmbus: Return -EINVAL for the sys files for unopened channels 2018-12-29 13:40:15 +01:00
hwmon hwmon: (ina3221) Fix INA3221_CONFIG_MODE macros 2019-11-25 09:53:51 +01:00
hwspinlock
hwtracing coresight: tmc: Fix byte-address alignment for RRP 2019-11-25 09:52:53 +01:00
i2c i2c: brcmstb: Allow enabling the driver on DSL SoCs 2019-11-25 09:53:34 +01:00
ide ide: pmac: add of_node_put() 2018-12-21 14:11:37 +01:00
idle x86/cpu: Sanitize FAM6_ATOM naming 2019-05-14 19:19:34 +02:00
iio iio: dac: mcp4922: fix error handling in mcp4922_write_raw 2019-11-25 09:51:59 +01:00
infiniband IB/mthca: Fix error return code in __mthca_init_one() 2019-11-25 09:53:27 +01:00
input Input: silead - try firmware reload after unsuccessful resume 2019-11-25 09:53:37 +01:00
iommu iommu/amd: Silence warnings under memory pressure 2019-10-05 12:30:25 +02:00
ipack
irqchip irqchip/gic-v3-its: Fix LPI release for Multi-MSI devices 2019-10-05 12:30:10 +02:00
isdn mISDN: Fix type of switch control variable in ctrl_teimanager 2019-11-28 18:28:35 +01:00
leds leds: leds-lp5562 allow firmware files up to the maximum length 2019-10-05 12:30:17 +02:00
lguest
lightnvm
macintosh macintosh/windfarm_smu_sat: Fix debug output 2019-11-28 18:28:30 +01:00
mailbox mailbox: handle failed named mailbox channel request 2019-08-04 09:33:41 +02:00
mcb
md dm: use blk_set_queue_dying() in __dm_destroy() 2019-11-28 18:29:02 +01:00
media media: imon: invalid dereference in imon_touch_event 2019-11-28 18:29:04 +01:00
memory memory: tegra: Fix integer overflow on tick value calculation 2019-05-25 18:26:49 +02:00
memstick memstick: jmb38x_ms: Fix an error handling path in 'jmb38x_ms_probe()' 2019-10-29 09:15:25 +01:00
message
mfd mfd: max8997: Enale irq-wakeup unconditionally 2019-11-28 18:28:38 +01:00
misc misc: mic: fix a DMA pool free failure 2019-11-28 18:28:22 +01:00
mmc mmc: mediatek: fix cannot receive new request when msdc_cmd_is_ready fail 2019-11-28 18:28:21 +01:00
mtd mtd: physmap_of: Release resources on error 2019-11-25 09:53:31 +01:00
net can: c_can: D_CAN: c_can_chip_config(): perform a sofware reset on open 2019-12-05 15:34:09 +01:00
nfc nfc: port100: handle command failure cleanly 2019-11-28 18:29:03 +01:00
ntb ntb: intel: fix return value for ndev_vec_mask() 2019-11-28 18:28:52 +01:00
nubus
nvdimm libnvdimm/pfn: fix fsdax-mode namespace info-block zero-fields 2019-08-04 09:33:29 +02:00
nvme nvmet: fix data units read and written counters in SMART log 2019-10-05 12:30:25 +02:00
nvmem nvmem: core: return error code instead of NULL from nvmem_device_get 2019-11-25 09:52:16 +01:00
of of: make PowerMac cache node search conditional on CONFIG_PPC_PMAC 2019-11-25 09:52:08 +01:00
oprofile
parisc parisc: Disable HP HSC-PCI Cards to prevent kernel crash 2019-10-05 12:30:31 +02:00
parport parport: Fix mem leak in parport_register_dev_model 2019-07-10 09:55:29 +02:00
pci PCI: keystone: Use quirk to limit MRRS for K2G 2019-11-28 18:29:01 +01:00
pcmcia pcmcia: Implement CLKRUN protocol disabling for Ricoh bridges 2018-11-13 11:16:46 -08:00
perf drivers/perf: arm_pmu: Fix failure path in PM notifier 2019-08-06 18:29:41 +02:00
phy phy: phy-twl4030-usb: fix denied runtime access 2019-11-25 09:52:50 +01:00
pinctrl pinctrl: zynq: Use define directive for PIN_CONFIG_IO_STANDARD 2019-11-28 18:29:01 +01:00
platform platform/x86: asus-wmi: Only Tell EC the OS will handle display hotkeys from asus_nb_wmi 2019-11-28 18:28:10 +01:00
pnp
power power: supply: twl4030_charger: disable eoc interrupt on linear charge 2019-11-25 09:52:32 +01:00
powercap x86/cpu: Sanitize FAM6_ATOM naming 2019-05-14 19:19:34 +02:00
pps drivers/pps/pps.c: clear offset flags in PPS_SETPARAMS ioctl 2019-08-04 09:33:45 +02:00
ps3
ptp ptp: check gettime64 return code in PTP_SYS_OFFSET ioctl 2019-02-12 19:44:52 +01:00
pwm pwm: Fix deadlock warning when removing PWM device 2019-06-22 08:17:17 +02:00
rapidio drivers/rapidio/devices/rio_mport_cdev.c: NUL terminate some strings 2019-08-06 18:29:38 +02:00
ras
regulator regulator: pfuze100-regulator: Variable "val" in pfuze100_regulator_probe() could be uninitialized 2019-11-10 11:23:09 +01:00
remoteproc
reset reset: Fix potential use-after-free in __of_reset_control_get() 2019-11-25 09:53:42 +01:00
rpmsg rpmsg: smd: fix memory leak on channel create 2018-11-13 11:17:03 -08:00
rtc rtc: s35390a: Change buf's type to u8 in s35390a_init 2019-11-28 18:28:34 +01:00
s390 s390/qeth: invoke softirqs after napi_schedule() 2019-11-25 09:52:25 +01:00
sbus drivers/sbus/char: add of_node_put() 2018-12-21 14:11:36 +01:00
scsi scsi: lpfc: fcoe: Fix link down issue after 1000+ link bounces 2019-11-28 18:28:59 +01:00
sfi
sh
sn
soc soc: mediatek: pwrap: Zero initialize rdata in pwrap_init_cipher 2019-06-22 08:17:15 +02:00
spi spi: omap2-mcspi: Fix DMA and FIFO event trigger size mismatch 2019-11-28 18:29:02 +01:00
spmi
ssb ssb: Fix possible NULL pointer dereference in ssb_host_pcmcia_exit 2019-05-31 06:48:12 -07:00
staging staging: comedi: usbduxfast: usbduxfast_ai_cmdtest rounding error 2019-11-28 18:29:06 +01:00
target scsi: target: core: Do not overwrite CDB byte 1 2019-11-10 11:23:18 +01:00
tc TC: Set DMA masks for devices 2018-11-13 11:17:02 -08:00
thermal thermal: rcar_thermal: Prevent hardware access during system suspend 2019-11-28 18:28:39 +01:00
thunderbolt thunderbolt: Use 32-bit writes when writing ring producer/consumer 2019-11-06 12:18:14 +01:00
tty synclink_gt(): fix compat_ioctl() 2019-11-28 18:28:16 +01:00
uio uio: Fix an Oops on load 2018-11-27 16:09:41 +01:00
usb USB: serial: option: add support for Foxconn T77W968 LTE modules 2019-11-28 18:29:06 +01:00
uwb uwb: hwa-rc: fix memory leak at probe 2018-10-03 17:01:42 -07:00
vfio vfio/pci: Mask buggy SR-IOV VF INTx support 2019-11-25 09:52:55 +01:00
vhost vhost: make sure log_num < in_num 2019-09-16 08:19:34 +02:00
video backlight: lm3639: Unconditionally call led_classdev_unregister 2019-11-25 09:53:44 +01:00
virt drivers/virt/fsl_hypervisor.c: prevent integer overflow in ioctl 2019-05-16 19:43:47 +02:00
virtio virtio_ring: fix return code on DMA mapping fails 2019-11-28 18:29:04 +01:00
vlynq
vme
w1 w1: fix the resume command API 2019-05-31 06:48:15 -07:00
watchdog watchdog: meson: Fix the wrong value of left time 2019-12-05 15:34:10 +01:00
xen mm/memory_hotplug: make add_memory() take the device_hotplug_lock 2019-11-28 18:28:51 +01:00
zorro
Kconfig
Makefile