[media] pt3: fix device identification
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 27 Feb 2016 10:51:11 +0000 (07:51 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 1 Mar 2016 15:01:45 +0000 (12:01 -0300)
commit55a1a9f1899e3001e32f73ccf6e29a71d9dd5fbc
treee430379914d503ccf213f8d9d0463baa43c3c1d5
parent5d0f2df471f50c0ef1512d114ab5c711adfe2103
[media] pt3: fix device identification

As warned by smatch:
drivers/media/pci/pt3/pt3.c:398 pt3_attach_fe() error: strncmp() '"tc90522sat"' too small (11 vs 20)

Clearly, the logic is doing the wrong thing, as it is not comparing the strings
on the right way.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/pt3/pt3.c