[alsa-devel] [PATCH v2 1/2] ASoC: samsung: i2s: Fix secondary platform device unregistration

Krzysztof Kozlowski krzk at kernel.org
Tue Feb 19 16:40:20 CET 2019


On Tue, 19 Feb 2019 at 16:20, Sylwester Nawrocki <s.nawrocki at samsung.com> wrote:
>
> This fixes unregistration of the secondary platform device so all
> resources are properly released.  Additionally the removal sequence
> is corrected so it is in reverse order comparing to probe sequence.
> The test against NULL priv->pdev_sec is removed as it is not necessary.
>
> Signed-off-by: Sylwester Nawrocki <s.nawrocki at samsung.com>
> ---
> Changes since v1:
>  - corrected order of calls on error path in probe() and in remove().
>
>  sound/soc/samsung/i2s.c | 19 ++++++++++---------
>  1 file changed, 10 insertions(+), 9 deletions(-)

Acked-by: Krzysztof Kozlowski <krzk at kernel.org>

Best regards,
Krzysztof


More information about the Alsa-devel mailing list