media: wl128x: Fix an error code in fm_download_firmware()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 6 Mar 2019 07:27:43 +0000 (02:27 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 19 Mar 2019 20:38:37 +0000 (16:38 -0400)
commitef4bb63dc1f7213c08e13f6943c69cd27f69e4a3
tree42d5d32cbe1891b0678eb0d77f955659a211d545
parentc1a65ebd05a9a6b9ae753fbc9f6ed2a8f0f4f09f
media: wl128x: Fix an error code in fm_download_firmware()

We forgot to set "ret" on this error path.

Fixes: e8454ff7b9a4 ("[media] drivers:media:radio: wl128x: FM Driver Common sources")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/radio/wl128x/fmdrv_common.c