[media] af9035: few small I2C master xfer changes
authorAntti Palosaari <crope@iki.fi>
Mon, 1 Sep 2014 01:17:12 +0000 (22:17 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 21 Sep 2014 22:39:12 +0000 (19:39 -0300)
Biggest problem of that function is complexity. Try reduce complexity:

* define macros to detect all 3 supported xfers
* remove duplicate message maximum size checks

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>

No differences found