/* * rt5514-spi.h -- RT5514 driver * * Copyright 2015 Realtek Semiconductor Corp. * Author: Oder Chiou * * 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. */ #ifndef __RT5514_SPI_H__ #define __RT5514_SPI_H__ /** * RT5514_SPI_BUF_LEN is the buffer size of SPI master controller. */ #define RT5514_SPI_BUF_LEN 240 #define RT5514_BUFFER_VOICE_BASE 0x18001034 #define RT5514_BUFFER_VOICE_LIMIT 0x18001038 #define RT5514_BUFFER_VOICE_RP 0x1800103c #define RT5514_BUFFER_VOICE_SIZE 0x18001040 /* SPI Command */ enum { RT5514_SPI_CMD_16_READ = 0, RT5514_SPI_CMD_16_WRITE, RT5514_SPI_CMD_32_READ, RT5514_SPI_CMD_32_WRITE, RT5514_SPI_CMD_BURST_READ, RT5514_SPI_CMD_BURST_WRITE, }; int rt5514_spi_burst_read(unsigned int addr, u8 *rxbuf, size_t len); int rt5514_spi_burst_write(u32 addr, const u8 *txbuf, size_t len); #endif /* __RT5514_SPI_H__ */ nge='this.form.submit();'> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/sound/usb/hiface
diff options
context:
space:
mode:
authorDavid Lechner <david@lechnology.com>2016-12-04 16:52:31 -0600
committerMark Brown <broonie@kernel.org>2016-12-05 11:38:30 +0000
commit30103b5b6432a51c3822a26dc340e35d91237f39 (patch)
tree0806755f1615c0bc8598558b4a845ab1cf9c8291 /sound/usb/hiface
parent1b5b42216469b05ef4b5916cb40b127dfab1da88 (diff)
regulator: Fix regulator_get_error_flags() signature mismatch
The function signature of does not match regulator_get_error_flags() when CONFIG_REGULATOR is not defined vs. when it is not defined. This makes both declarations match to prevent compiler errors. Signed-off-by: David Lechner <david@lechnology.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/usb/hiface')