/* * ADAU1361/ADAU1461/ADAU1761/ADAU1961 driver * * Copyright 2014 Analog Devices Inc. * Author: Lars-Peter Clausen * * Licensed under the GPL-2. */ #ifndef __SOUND_SOC_CODECS_ADAU1761_H__ #define __SOUND_SOC_CODECS_ADAU1761_H__ #include #include "adau17x1.h" struct device; int adau1761_probe(struct device *dev, struct regmap *regmap, enum adau17x1_type type, void (*switch_mode)(struct device *dev)); extern const struct regmap_config adau1761_regmap_config; #endif cgi/linux/net-next.git' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBard Liao <bardliao@realtek.com>2016-10-31 17:19:54 +0800
committerMark Brown <broonie@kernel.org>2016-10-31 09:45:51 -0600
commit4774e27ab8206f4a959a8c9054f55545e2dff42c (patch)
tree91c685722aa3370eea7e0b37de5e4b5564088318 /tools
parent1001354ca34179f3db924eb66672442a173147dc (diff)
ASoC: rt286: remove unnecessary selection in Kconfig
SND_SOC_RT5663 is not required for SND_SOC_RT286. Signed-off-by: Bard Liao <bardliao@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools')
b011e2f13fcf37e1e577fed25b295808d6c83b9&id2=4983f0ab7ffaad1e534b21975367429736475205'>diff)
ratelimit: fix WARN_ON_RATELIMIT return value
The macro is to be used similarly as WARN_ON as: if (WARN_ON_RATELIMIT(condition, state)) do_something(); One would expect only 'condition' to affect the 'if', but WARN_ON_RATELIMIT does internally only: WARN_ON((condition) && __ratelimit(state)) So the 'if' is affected by the ratelimiting state too. Fix this by returning 'condition' in any case. Note that nobody uses WARN_ON_RATELIMIT yet, so there is nothing to worry about. But I was about to use it and was a bit surprised. Link: http://lkml.kernel.org/r/20161215093224.23126-1-jslaby@suse.cz Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/usb/dwc3/host.c')