From: Sakari Ailus Date: Sat, 12 Apr 2014 19:41:12 +0000 (-0300) Subject: [media] smiapp: Fix determining the need for 8-bit read access X-Git-Tag: omap-for-v3.16/fixes-against-rc1~25^2~221 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b05cd219ec200c1c91d59011f8692d9b1c166fbc;p=pandora-kernel.git [media] smiapp: Fix determining the need for 8-bit read access 8-bit reads are needed in some cases; however the condition used was wrong. Regular access (register width) was used if: len == SMIAPP_REG_8BIT && !only8 This causes 8-bit read access to be used always. The operator should be || instead: regular access can be used for 8-bit reads OR if allowed otherwise. Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed