linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] ice1712: tiny patch defining i2c eeprom addr to header file
@ 2017-11-05 20:11 Konstantinos Tsimpoukas
  2017-11-06 14:06 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Konstantinos Tsimpoukas @ 2017-11-05 20:11 UTC (permalink / raw)
  To: Konstantinos Tsimpoukas, alsa-devel
  Cc: Jaroslav Kysela, Takashi Iwai, linux-sound, linux-kernel

Signed-off-by: Konstantinos Tsimpoukas <kostaslinuxxx@gmail.com>
---
 sound/pci/ice1712/ice1712.c | 2 +-
 sound/pci/ice1712/ice1712.h | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/sound/pci/ice1712/ice1712.c b/sound/pci/ice1712/ice1712.c
index 0e66afa..f1fe497 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;
 
diff --git a/sound/pci/ice1712/ice1712.h b/sound/pci/ice1712/ice1712.h
index 5cfba09..8ae8742 100644
--- a/sound/pci/ice1712/ice1712.h
+++ b/sound/pci/ice1712/ice1712.h
@@ -218,8 +218,9 @@
 
 
 /*
- *
+ * I2C EEPROM Address
  */
+#define ICE_I2C_EEPROM_ADDR		0xA0
 
 struct snd_ice1712;
 
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] ice1712: tiny patch defining i2c eeprom addr to header file
  2017-11-05 20:11 [PATCH 1/1] ice1712: tiny patch defining i2c eeprom addr to header file Konstantinos Tsimpoukas
@ 2017-11-06 14:06 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2017-11-06 14:06 UTC (permalink / raw)
  To: Konstantinos Tsimpoukas
  Cc: alsa-devel, Jaroslav Kysela, linux-sound, linux-kernel

On Sun, 05 Nov 2017 21:11:01 +0100,
Konstantinos Tsimpoukas wrote:
> 
> Signed-off-by: Konstantinos Tsimpoukas <kostaslinuxxx@gmail.com>

Applied, thanks.


Takashi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-11-06 14:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-05 20:11 [PATCH 1/1] ice1712: tiny patch defining i2c eeprom addr to header file Konstantinos Tsimpoukas
2017-11-06 14:06 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).