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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jan 2020 09:24:19 +0000 (10:24 +0100)
commite53ee1dce1d93adab4a78ea3fdec2d3475fa5891
tree8ea6b6913cce82ca448f7fb84f1f7f49758ab2a0
parentad58489fa497fe6a5f712ac7e08f560debc1f466
media: wl128x: Fix an error code in fm_download_firmware()

[ Upstream commit ef4bb63dc1f7213c08e13f6943c69cd27f69e4a3 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/radio/wl128x/fmdrv_common.c