summaryrefslogtreecommitdiff
path: root/include/dt-bindings/mfd/palmas.h
blob: cdb075aae4e1abdef5b26ae8b988850abed781ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * This header provides macros for Palmas device bindings.
 *
 * Copyright (c) 2013, NVIDIA Corporation.
 *
 * Author: Laxman Dewangan <ldewangan@nvidia.com>
 *
 */

#ifndef __DT_BINDINGS_PALMAS_H
#define __DT_BINDINGS_PALMAS_H

/* External control pins */
#define PALMAS_EXT_CONTROL_PIN_ENABLE1	1
#define PALMAS_EXT_CONTROL_PIN_ENABLE2	2
#define PALMAS_EXT_CONTROL_PIN_NSLEEP	3

#endif /* __DT_BINDINGS_PALMAS_H */
id=b98acbff9a05b371c5f0ca6e44a3af8ce9274379'>b98acbff9a05b371c5f0ca6e44a3af8ce9274379 (patch) treed6835885f859a456e62ce93621041138d6a54f9b /net/ipv4/tcp_rate.c parentd00b74613fb18dfd0a5aa99270ee2e72d5c808d7 (diff)
regulator: twl6030: fix range comparison, allowing vsel = 59
The range min_uV > 1350000 && min_uV <= 150000 is never reachable because of a typo in the previous range check and hence vsel = 59 is never reached. Fix the previous range check to enable the vsel = 59 setting. Fixes CoverityScan CID#728454 ("Logially dead code") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/ipv4/tcp_rate.c')