From: Mauro Carvalho Chehab Date: Tue, 19 Mar 2013 15:00:23 +0000 (-0300) Subject: [media] siano: remove the bogus firmware lookup code X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~81^2~427 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e584f9d61ea0aefa81ddd3faf53100536ba4057e;p=pandora-kernel.git [media] siano: remove the bogus firmware lookup code There is an special lookup code that is called when SMS_BOARD_UNKNOWN. The logic there is bogus and will cause an oops, as .type is SMS_UNKNOWN_TYPE (-1). As the code would do: return smscore_fw_lkup[type][mode]; That would mean that it would try to go past the smscore_fw_lkup table. So, just remove that bogus code, simplifying the logic. Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed