Skip to content
Commit d7b76c91 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

[media] af9013: Don't accept invalid bandwidth



If userspace sends an invalid bandwidth, it should either return
EINVAL or switch to auto mode.

This driver will go past an array and program the hardware on a
wrong way if this happens.

Cc: stable@vger.kernel.org
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 1fa2337a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment