From: Frank Schaefer Date: Wed, 27 Mar 2013 20:06:28 +0000 (-0300) Subject: [media] em28xx: fix and separate the board hints for sensor devices X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~81^2~166 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d466e1136161527708321b73ded9c0ac4cae668;p=pandora-kernel.git [media] em28xx: fix and separate the board hints for sensor devices The current board hint code is mixed together with the sensor detection and initialization code. It actually selects a board depending on the detected sensor type only, with the result that 3 of the 6 webcam boards are currently dead. Separate it and move it to em28xx_hint_board() which already contains the board hints for analog capturing+TV and DVB devices. This way, we have all board hints at a common place which makes it easier to extend the code and reduces the risk of regressions. It also makes it possible again to use the boards EM2750_BOARD_DLCW_130, EM2820_BOARD_VIDEOLOGY_20K14XUSB and EM2860_BOARD_NETGMBH_CAM (using the module parameter "card"). NOTE: the current board hint logic for webcams is preserved. Not more not less. Signed-off-by: Frank Schäfer Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed