Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge branch 'for-2.6.37' into for-2.6.38

+11 -1
+10 -1
sound/soc/codecs/max98088.c
··· 28 28 #include <sound/max98088.h> 29 29 #include "max98088.h" 30 30 31 + enum max98088_type { 32 + MAX98088, 33 + MAX98089, 34 + }; 35 + 31 36 struct max98088_cdata { 32 37 unsigned int rate; 33 38 unsigned int fmt; ··· 41 36 42 37 struct max98088_priv { 43 38 u8 reg_cache[M98088_REG_CNT]; 39 + enum max98088_type devtype; 44 40 void *control_data; 45 41 struct max98088_pdata *pdata; 46 42 unsigned int sysclk; ··· 2048 2042 if (max98088 == NULL) 2049 2043 return -ENOMEM; 2050 2044 2045 + max98088->devtype = id->driver_data; 2046 + 2051 2047 i2c_set_clientdata(i2c, max98088); 2052 2048 max98088->control_data = i2c; 2053 2049 max98088->pdata = i2c->dev.platform_data; ··· 2069 2061 } 2070 2062 2071 2063 static const struct i2c_device_id max98088_i2c_id[] = { 2072 - { "max98088", 0 }, 2064 + { "max98088", MAX98088 }, 2065 + { "max98089", MAX98089 }, 2073 2066 { } 2074 2067 }; 2075 2068 MODULE_DEVICE_TABLE(i2c, max98088_i2c_id);
+1
sound/soc/codecs/uda134x.c
··· 597 597 .resume = uda134x_soc_resume, 598 598 .reg_cache_size = sizeof(uda134x_reg), 599 599 .reg_word_size = sizeof(u8), 600 + .reg_cache_default = uda134x_reg, 600 601 .reg_cache_step = 1, 601 602 .read = uda134x_read_reg_cache, 602 603 .write = uda134x_write,