]> git.baikalelectronics.ru Git - kernel.git/commit
[media] em28xx: do not interpret eeprom content if eeprom key is invalid
authorFrank Schaefer <fschaefer.oss@googlemail.com>
Sun, 3 Mar 2013 18:37:37 +0000 (15:37 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 4 Mar 2013 18:48:58 +0000 (15:48 -0300)
commit569b5a482248b0a95baacfc68e3bf11b6051cf60
tree58edce55d71803a05e543d3e7189138aa7af2b06
parent0e7bb21a8b0eb2831bd20dd29041452cdae24b0d
[media] em28xx: do not interpret eeprom content if eeprom key is invalid

If the eeprom key isn't valid, either a different (currently unknown) format
is used or the eeprom is corrupted.
In both cases it doesn't make sense to interpret the data.
Also print an error message.

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/em28xx/em28xx-i2c.c