Re: [PATCH] [media] cx24120: do not allow an invalid delivery system types

From: Jemma Denson
Date: Mon Sep 05 2016 - 14:20:22 EST


On 03/09/16 18:04, Colin King wrote:
From: Colin Ian King <colin.king@xxxxxxxxxxxxx>

cx24120_set_frontend currently allows invalid delivery system types
other than SYS_DVBS2 and SYS_DVBS. Fix this by returning -EINVAL
for invalid values.

Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
---
drivers/media/dvb-frontends/cx24120.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

Yes, that's needed, thanks!

Acked-by: Jemma Denson <jdenson@xxxxxxxxx>