diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-04-14 00:37:47 +0200 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-05-17 01:33:57 +0200 |
commit | ef30be09eb0faba6739b4efee450d0c9751c121b (patch) | |
tree | 6c34625ebfeebd2240136832066ded53d0591fdc /licenses/cc-by-sa-v4.0.txt | |
parent | 5868d73e77916812d60cb60ee3cade785f6492f8 (diff) |
libcamera: media_device: Only read device information in populate()
There is no reason to reread the MEDIA_IOC_DEVICE_INFO information every
time the media device is opened. Move it populate() where it will be
read once together the other information about the media device.
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'licenses/cc-by-sa-v4.0.txt')
0 files changed, 0 insertions, 0 deletions