summaryrefslogtreecommitdiff
path: root/include/dt-bindings/sound/audio-jack-events.h
blob: 378349f28069a16d810c25c1403d177047598a1c (plain)
1
2
3
4
5
6
7
8
9
#ifndef __AUDIO_JACK_EVENTS_H
#define __AUDIO_JACK_EVENTS_H

#define JACK_HEADPHONE		1
#define JACK_MICROPHONE		2
#define JACK_LINEOUT		3
#define JACK_LINEIN		4

#endif /* __AUDIO_JACK_EVENTS_H */
354bed581f29f7a94'>patch) tree94b7c791b7cd83225d6701b10b6d4c1aeac5151a /include/uapi parent1001354ca34179f3db924eb66672442a173147dc (diff)
regulator: core: Correct type of mode in regulator_mode_constrain
Every function handling the mode within the regulator core uses an unsigned int for mode, except for regulator_mode_constrain. This patch changes the type of mode within regulator_mode_constrain which fixes several instances where we are passing pointers to unsigned ints then treating them as an int within this function. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/uapi')