commit | ca133c395f2f6ccf7980677d6583224d23711897 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Fri May 08 11:27:02 2020 +0200 |
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Wed May 20 14:50:58 2020 +0200 |
tree | 200368b94b91cac3c5b1463bd665d10d15cbc03c | |
parent | 9b7632e8fe7f7e0d75a61dccf2917e55022ecb66 [diff] |
media: atomisp: improve device detection code - Remove useless check if !dev at the probe function: if such function is called, the device is defined. - Cleanup the PCI ID table using macros. - Use the same macros at the version-dependent part of the atomisp_v4l2.c file; - Add print messages to help understand what model the driver detect; - If device is not valid, better explain why. Signed-off-by: Mauro Carvalho Chehehab <mchehab+huawei@kernel.org>