summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5992c58)
No reason to use static variable for channel_index.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
{
int base_addr, chnl_addr;
int value;
{
int base_addr, chnl_addr;
int value;
- static int channel_index;
/* Index of the first channel in which the stop bit is set */
channel_index = find_free_channel(sn95031_codec);
/* Index of the first channel in which the stop bit is set */
channel_index = find_free_channel(sn95031_codec);