/* * ADAU1381/ADAU1781 driver * * Copyright 2014 Analog Devices Inc. * Author: Lars-Peter Clausen * * Licensed under the GPL-2. */ #ifndef __SOUND_SOC_CODECS_ADAU1781_H__ #define __SOUND_SOC_CODECS_ADAU1781_H__ #include #include "adau17x1.h" struct device; int adau1781_probe(struct device *dev, struct regmap *regmap, enum adau17x1_type type, void (*switch_mode)(struct device *dev)); extern const struct regmap_config adau1781_regmap_config; #endif t.git' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2017-01-26 17:15:44 +0100
committerJohannes Berg <johannes.berg@intel.com>2017-01-26 18:03:09 +0100
commit228c8c6b1f4376788e9d5ab00d50b10228eb40d3 (patch)
treedfd7010fa9480284fe72bb2c4ab50a5225792a10 /sound/soc/samsung/s3c24xx-i2s.c
parent731977e97b3697454a862fec656c2561eabc0b87 (diff)
wireless: define cipher/AKM suites using a macro
The spec writes cipher/AKM suites as something like 00-0F-AC:9, but the part after the colon isn't hex, it's decimal, so that we've already had a few mistakes (in other code, or unmerged patches) to e.g. write 0x000FAC10 instead of 0x000FAC0A. Use a macro to avoid that problem. Reviewed-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'sound/soc/samsung/s3c24xx-i2s.c')