Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4609981f authored by Tim Mester's avatar Tim Mester Committed by Mauro Carvalho Chehab
Browse files

[media] au8028: Fix cleanup on kzalloc fail



Free what was allocated if there is a failure allocating
transfer buffers.

Stop the feed on a start feed error.  The stop feed is not always called
if start feed fails.  If the feed is not stopped on error, then the driver
will be stuck so that it can never start feeding again.

[m.chehab@samsung.com: CodingStyle cleanup]
Signed-off-by: default avatarTim Mester <tmester@ieee.org>
Acked-by: default avatarDevin Heitmueller <dheitmueller@kernellabs.com>

Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent bbd8f3fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment