aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorSylwester Nawrocki <[email protected]>2012-04-30 12:10:58 -0300
committerMauro Carvalho Chehab <[email protected]>2012-05-20 09:14:11 -0300
commit41df5bf088a10e54c0613ec4d7350b74d5ab8252 (patch)
treec2782e2532227597db4c8c765b861270743ae705 /include/linux/timerqueue.h
parentd310f478e288ee7b2fa638339680460430e73e03 (diff)
[media] s5p-fimc: Avoid crash with null platform_data
In commit "s5p-fimc: Handle sub-device interdependencies using deferred.." there was a check added for pdata->num_clients without first checking pdata against NULL. This causes a crash when platform_data is not set, which is a valid use case. Fix this regression by skipping the MIPI-CSIS subdev registration also when pdata is null. Reported-by: HeungJun Kim <[email protected]> Signed-off-by: Sylwester Nawrocki <[email protected]> Signed-off-by: Kyungmin Park <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions