diff options
author | Mauro Carvalho Chehab <[email protected]> | 2020-06-21 08:32:27 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2020-07-18 07:12:46 +0200 |
commit | d6ad1c9bbadd83889080350489bc63f7ff9207f0 (patch) | |
tree | 2dae557dd1bac42112281b7142497d0a9694edac /drivers/usb/cdns3/cdns3-debug.h | |
parent | e2c57942382dd1ace16b90c73febdd31666f2ad3 (diff) |
media: atomisp: fix call to g_frame_interval
The media core has now a check if fi->pad is bigger than zero
or bigger than sd->entity.num_pads, if the media controller
is defined.
This causes a call to g_frame_interval to return -EINVAL.
Fix it by first cleaning up the struct.
Tested-by: Andy Shevchenko <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions