19 Sep
2012
19 Sep
'12
2:58 a.m.
Mark Brown wrote:
snd_pcm_format_t format = params_format(params); int i;
/* bit size */
- switch (params_format(params)) {
- switch (format) {
...please don't introduce unrelated changes, especially ones you don't mention in the changelog.
Well, the introduction of variable 'format' is for the default case in the switch statement:
+ default: + dev_err(codec->dev, "unsupported format %i\n", format); + return -EINVAL;
I would not call this change "unrelated".
--
Timur Tabi
Linux kernel developer at Freescale