Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
sound
/
soc
/
codecs
/
wm2000.c
diff --git
a/kernel/sound/soc/codecs/wm2000.c
b/kernel/sound/soc/codecs/wm2000.c
index
21d5402
..
a67ea10
100644
(file)
--- a/
kernel/sound/soc/codecs/wm2000.c
+++ b/
kernel/sound/soc/codecs/wm2000.c
@@
-620,7
+620,7
@@
static int wm2000_anc_mode_put(struct snd_kcontrol *kcontrol,
{
struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol);
struct wm2000_priv *wm2000 = dev_get_drvdata(codec->dev);
{
struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol);
struct wm2000_priv *wm2000 = dev_get_drvdata(codec->dev);
- int anc_active = ucontrol->value.integer.value[0];
+
unsigned
int anc_active = ucontrol->value.integer.value[0];
int ret;
if (anc_active > 1)
int ret;
if (anc_active > 1)
@@
-653,7
+653,7
@@
static int wm2000_speaker_put(struct snd_kcontrol *kcontrol,
{
struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol);
struct wm2000_priv *wm2000 = dev_get_drvdata(codec->dev);
{
struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol);
struct wm2000_priv *wm2000 = dev_get_drvdata(codec->dev);
- int val = ucontrol->value.integer.value[0];
+
unsigned
int val = ucontrol->value.integer.value[0];
int ret;
if (val > 1)
int ret;
if (val > 1)
@@
-942,7
+942,6
@@
MODULE_DEVICE_TABLE(i2c, wm2000_i2c_id);
static struct i2c_driver wm2000_i2c_driver = {
.driver = {
.name = "wm2000",
static struct i2c_driver wm2000_i2c_driver = {
.driver = {
.name = "wm2000",
- .owner = THIS_MODULE,
},
.probe = wm2000_i2c_probe,
.remove = wm2000_i2c_remove,
},
.probe = wm2000_i2c_probe,
.remove = wm2000_i2c_remove,