commit | dcb78ac761488f59ac16c2e76534c567017ef57b | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | Sun Jul 27 16:27:28 2014 -0300 |
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | Sun Jul 27 16:54:04 2014 -0300 |
tree | f0ebe91d3b6379ce04d9aee06cfc78183428b143 | |
parent | 139d28826b8e2bc7a9232fde0d2f14812914f501 [diff] |
[media] cx231xx: Don't let an interface number to go past the array On some newer boards, like HVR-930C HD, the information at the PCB tables are sometimes higher than the ones actually available on the device. That causes the probing code to go past the interfaces array. Add checks to the interface number before going past the array. Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>