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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 19 Feb 2019 at 16:20, Sylwester Nawrocki <s.nawrocki@xxxxxxxxxxx> 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@xxxxxxxxxxx>
> ---
> 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@xxxxxxxxxx>

Best regards,
Krzysztof
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux