Re: [PATCH] ASoC: core: Fix return code shown on error for hw_params

2018-05-30 Thread Jon Hunter
On 30/05/18 16:12, Jon Hunter wrote: > The call to hw_params for a component fails the error code is held by > the variable '__ret' but the error message displays the value held by > the variable 'ret'. Fix the return code shown when hw_params fails for > a component. Sorry, just resent this as

Re: [PATCH] ASoC: core: Fix return code shown on error for hw_params

2018-05-30 Thread Jon Hunter
On 30/05/18 16:12, Jon Hunter wrote: > The call to hw_params for a component fails the error code is held by > the variable '__ret' but the error message displays the value held by > the variable 'ret'. Fix the return code shown when hw_params fails for > a component. Sorry, just resent this as

[PATCH] ASoC: core: Fix return code shown on error for hw_params

2018-05-30 Thread Jon Hunter
The call to hw_params for a component fails the error code is held by the variable '__ret' but the error message displays the value held by the variable 'ret'. Fix the return code shown when hw_params fails for a component. Fixes: b8135864d4d3 ("ASoC: snd_soc_component_driver has snd_pcm_ops")

[PATCH] ASoC: core: Fix return code shown on error for hw_params

2018-05-30 Thread Jon Hunter
The call to hw_params for a component fails the error code is held by the variable '__ret' but the error message displays the value held by the variable 'ret'. Fix the return code shown when hw_params fails for a component. Fixes: b8135864d4d3 ("ASoC: snd_soc_component_driver has snd_pcm_ops")