upstream: [media] adv7604: improve EDID handling
authorMats Randgaard <matrandg@cisco.com>
Tue, 10 Dec 2013 12:57:09 +0000 (09:57 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:55:25 +0000 (11:55 +0900)
commit06ae60cdd775f5ff17659590c72af35b4c2376dc
tree80e38d7e6e203db15034bb8e5abba80e176a691e
parentd690e5ba5d72d6d2dd11a082c1551ec47c57bd0b
upstream: [media] adv7604: improve EDID handling

- split edid_write_block()
- do not use edid->edid before the validity check
- Return -EINVAL if edid->pad is invalid
- Save both registers for SPA port A
- Set SPA location to default value if it is not found

Signed-off-by: Mats Randgaard <matrandg@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/adv7604.c