diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2008-12-17 18:05:38 +0100 |
---|---|---|
committer | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2008-12-17 18:05:38 +0100 |
commit | cd63b99e5c28670053a6a7ce199d683073417d68 (patch) | |
tree | 0f5797858606e5ea632ca057ff0c046040edd09a /v4l_experimental/dpl3518.h | |
parent | 79cf0e3dfb501a547e6a7b9145a6fddd6ac05f18 (diff) | |
download | mediapointer-dvb-s2-cd63b99e5c28670053a6a7ce199d683073417d68.tar.gz mediapointer-dvb-s2-cd63b99e5c28670053a6a7ce199d683073417d68.tar.bz2 |
mt9m001 mt9v022: fix bus-width switch GPIO availability test
From: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Testing for non-NULL platform-data is not enough, we have to check if the GPIO
in the platform data is valid or not. Also see my earlier patch:
[ARM] pxa/pcm990: use negative number for an invalid GPIO in camera data
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
---
drivers/media/video/mt9m001.c | 5 +++--
drivers/media/video/mt9v022.c | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)
Diffstat (limited to 'v4l_experimental/dpl3518.h')
0 files changed, 0 insertions, 0 deletions