linux/drivers/reset
Andre Przywara 11282a49b7 reset: sunxi: fix for 64-bit compilation
The Allwinner reset controller has 32-bit registers, so translating
the reset cell number into a register and bit offset should not use
any architecture dependent data size. Otherwise this breaks for 64-bit
architectures like arm64.
Fix this by making it clear that it's the hardware register width which
matters here in the calculation.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
2017-03-15 12:19:12 +01:00
..
hisilicon reset: hisilicon: add reset-hi3660 2017-01-09 10:38:58 +01:00
sti reset: sti: Remove STiH415/6 reset support 2016-10-20 11:52:08 +02:00
tegra reset: Add Tegra BPMP reset driver 2016-11-18 14:34:56 +01:00
core.c ARM: SoC driver updates 2017-02-23 15:57:04 -08:00
Kconfig reset: Add Altera Arria10 SR Reset Controller 2017-03-15 12:19:11 +01:00
Makefile reset: Add Altera Arria10 SR Reset Controller 2017-03-15 12:19:11 +01:00
reset-a10sr.c reset: Add Altera Arria10 SR Reset Controller 2017-03-15 12:19:11 +01:00
reset-ath79.c reset: ath79: make it explicitly non-modular 2017-03-08 09:36:45 +01:00
reset-berlin.c reset: berlin: make it explicitly non-modular 2016-10-24 10:43:40 +02:00
reset-imx7.c reset: Add i.MX7 SRC reset driver 2017-03-15 12:18:49 +01:00
reset-lpc18xx.c reset: lpc18xx: make it explicitly non-modular 2016-10-24 10:45:38 +02:00
reset-meson.c reset: meson: make it explicitly non-modular 2017-03-08 09:36:45 +01:00
reset-oxnas.c reset: oxnas: make it explicitly non-modular 2017-03-08 09:36:45 +01:00
reset-pistachio.c reset: pistachio: make it explicitly non-modular 2017-03-08 09:36:45 +01:00
reset-socfpga.c reset-socfpga: Fix nr_resets property 2017-03-08 09:36:45 +01:00
reset-stm32.c drivers: reset: Add STM32 reset driver 2016-08-24 15:21:28 +02:00
reset-sunxi.c reset: sunxi: fix for 64-bit compilation 2017-03-15 12:19:12 +01:00
reset-ti-syscon.c reset: constify reset_control_ops structures 2017-01-12 11:12:07 +01:00
reset-uniphier.c reset: uniphier: fix non static symbol warnings 2017-03-08 09:36:45 +01:00
reset-zx2967.c reset: make zx2967 explicitly non-modular 2017-02-02 16:32:09 +01:00
reset-zynq.c reset: zynq: make it explicitly non-modular 2016-10-24 10:45:32 +02:00