summaryrefslogtreecommitdiffstats
path: root/sound/pci/ice1712/ice1712.c
diff options
context:
space:
mode:
authorKonstantinos Tsimpoukas <kostaslinuxxx@gmail.com>2017-11-05 21:11:01 +0100
committerTakashi Iwai <tiwai@suse.de>2017-11-06 15:05:20 +0100
commit9718a29d40b7e5ae4692796eb23c54f25559d35e (patch)
tree48f668fe52061015a39cb672926bd4565e55f457 /sound/pci/ice1712/ice1712.c
parentMerge branch 'topic/usb-ep-check-v2' into for-next (diff)
downloadlinux-9718a29d40b7e5ae4692796eb23c54f25559d35e.tar.xz
linux-9718a29d40b7e5ae4692796eb23c54f25559d35e.zip
ALSA: ice1712: define i2c eeprom addr to header file
Signed-off-by: Konstantinos Tsimpoukas <kostaslinuxxx@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ice1712/ice1712.c')
-rw-r--r--sound/pci/ice1712/ice1712.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/ice1712/ice1712.c b/sound/pci/ice1712/ice1712.c
index 0e66afa403a3..f1fe497c2f9d 100644
--- a/sound/pci/ice1712/ice1712.c
+++ b/sound/pci/ice1712/ice1712.c
@@ -2285,7 +2285,7 @@ static unsigned char snd_ice1712_read_i2c(struct snd_ice1712 *ice,
static int snd_ice1712_read_eeprom(struct snd_ice1712 *ice,
const char *modelname)
{
- int dev = 0xa0; /* EEPROM device address */
+ int dev = ICE_I2C_EEPROM_ADDR; /* I2C EEPROM device address */
unsigned int i, size;
struct snd_ice1712_card_info * const *tbl, *c;