diff options
| author | Yong Wu <[email protected]> | 2022-01-17 08:05:00 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2022-01-28 15:30:21 +0100 |
| commit | 2fb0feed51085db77606de9b9477c96894328809 (patch) | |
| tree | 8e573ffbf72348f4f3137fbcc9ba7cca7bfd956d /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 822a2ed8c606caf6a11b1a180b8e46292bd77d71 (diff) | |
media: iommu/mediatek: Return ENODEV if the device is NULL
The platform device is created at:
of_platform_default_populate_init: arch_initcall_sync
->of_platform_populate
->of_platform_device_create_pdata
When entering our probe, all the devices should be already created.
if it is null, means NODEV. Currently we don't get the fail case.
It's a minor fix, no need add fixes tags.
Signed-off-by: Yong Wu <[email protected]>
Acked-by: Joerg Roedel <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions