Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 248212
b: refs/heads/master
c: acd6145
h: refs/heads/master
v: v3
  • Loading branch information
Dimitris Papastamos authored and Mark Brown committed Mar 26, 2011
1 parent 220b7bf commit ef65c37
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 30539a18d366cff6b21f66a81e4d9dccc4a90c89
refs/heads/master: acd61451e55ea5848a6ab50d39a103e146fcf7ba
10 changes: 5 additions & 5 deletions trunk/sound/soc/soc-cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -1295,7 +1295,7 @@ int snd_soc_cache_init(struct snd_soc_codec *codec)
codec->cache_ops->name, codec->name);
return codec->cache_ops->init(codec);
}
return -EINVAL;
return -ENOSYS;
}

/*
Expand All @@ -1310,7 +1310,7 @@ int snd_soc_cache_exit(struct snd_soc_codec *codec)
codec->cache_ops->name, codec->name);
return codec->cache_ops->exit(codec);
}
return -EINVAL;
return -ENOSYS;
}

/**
Expand All @@ -1334,7 +1334,7 @@ int snd_soc_cache_read(struct snd_soc_codec *codec,
}

mutex_unlock(&codec->cache_rw_mutex);
return -EINVAL;
return -ENOSYS;
}
EXPORT_SYMBOL_GPL(snd_soc_cache_read);

Expand All @@ -1359,7 +1359,7 @@ int snd_soc_cache_write(struct snd_soc_codec *codec,
}

mutex_unlock(&codec->cache_rw_mutex);
return -EINVAL;
return -ENOSYS;
}
EXPORT_SYMBOL_GPL(snd_soc_cache_write);

Expand All @@ -1382,7 +1382,7 @@ int snd_soc_cache_sync(struct snd_soc_codec *codec)
}

if (!codec->cache_ops || !codec->cache_ops->sync)
return -EINVAL;
return -ENOSYS;

if (codec->cache_ops->name)
name = codec->cache_ops->name;
Expand Down

0 comments on commit ef65c37

Please sign in to comment.