/* * Copyright (c) 2013 Samsung Electronics Co., Ltd. * Author: Andrzej Hajda * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * Device Tree binding constants for Exynos5440 clock controller. */ #ifndef _DT_BINDINGS_CLOCK_EXYNOS_5440_H #define _DT_BINDINGS_CLOCK_EXYNOS_5440_H #define CLK_XTAL 1 #define CLK_ARM_CLK 2 #define CLK_CPLLA 3 #define CLK_CPLLB 4 #define CLK_SPI_BAUD 16 #define CLK_PB0_250 17 #define CLK_PR0_250 18 #define CLK_PR1_250 19 #define CLK_B_250 20 #define CLK_B_125 21 #define CLK_B_200 22 #define CLK_SATA 23 #define CLK_USB 24 #define CLK_GMAC0 25 #define CLK_CS250 26 #define CLK_PB0_250_O 27 #define CLK_PR0_250_O 28 #define CLK_PR1_250_O 29 #define CLK_B_250_O 30 #define CLK_B_125_O 31 #define CLK_B_200_O 32 #define CLK_SATA_O 33 #define CLK_USB_O 34 #define CLK_GMAC0_O 35 #define CLK_CS250_O 36 /* must be greater than maximal clock id */ #define CLK_NR_CLKS 37 #endif /* _DT_BINDINGS_CLOCK_EXYNOS_5440_H */ value='nds-private-remove'>nds-private-remove net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/include/soc/nps
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2016-11-10 10:45:18 +0000
committerMark Brown <broonie@kernel.org>2016-11-10 17:28:32 +0000
commit85b037442e3f0e84296ab1010fd6b057eee18496 (patch)
treeb745f3f22cbd45af2039a004eb3f21d530afdc8b /include/soc/nps
parent1001354ca34179f3db924eb66672442a173147dc (diff)
regulators: helpers: Fix handling of bypass_val_on in get_bypass_regmap
The handling of bypass_val_on that was added in regulator_get_bypass_regmap is done unconditionally however several drivers don't define a value for bypass_val_on. This results in those drivers reporting bypass being enabled when it is not. In regulator_set_bypass_regmap we use bypass_mask if bypass_val_on is zero. This patch adds similar handling in regulator_get_bypass_regmap. Fixes: commit dd1a571daee7 ("regulator: helpers: Ensure bypass register field matches ON value") Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/soc/nps')
s.org Cc: namhyung@kernel.org Cc: stable@vger.kernel.org # v3.16+ Fixes: f972eb63b100 ("perf: Pass protection and flags bits through mmap2 interface") Link: http://lkml.kernel.org/r/20170126221508.GF6536@twins.programming.kicks-ass.net Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'net/mpls/af_mpls.c')