mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 10:04:04 +02:00
media: ti: vpe: Export vpdma_load_firmware() function
Export vpdma_load_firmware() function which is needed by TI VIP to load the VPDMA firmware. Signed-off-by: Yemike Abhilash Chandra <y-abhilashchandra@ti.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
This commit is contained in:
parent
4011e67a98
commit
4c97845712
|
|
@ -1135,7 +1135,7 @@ static void vpdma_firmware_cb(const struct firmware *f, void *context)
|
|||
release_firmware(f);
|
||||
}
|
||||
|
||||
static int vpdma_load_firmware(struct vpdma_data *vpdma)
|
||||
int vpdma_load_firmware(struct vpdma_data *vpdma)
|
||||
{
|
||||
int r;
|
||||
struct device *dev = &vpdma->pdev->dev;
|
||||
|
|
@ -1152,6 +1152,7 @@ static int vpdma_load_firmware(struct vpdma_data *vpdma)
|
|||
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(vpdma_load_firmware);
|
||||
|
||||
int vpdma_create(struct platform_device *pdev, struct vpdma_data *vpdma,
|
||||
void (*cb)(struct platform_device *pdev))
|
||||
|
|
|
|||
|
|
@ -281,4 +281,7 @@ void vpdma_dump_regs(struct vpdma_data *vpdma);
|
|||
int vpdma_create(struct platform_device *pdev, struct vpdma_data *vpdma,
|
||||
void (*cb)(struct platform_device *pdev));
|
||||
|
||||
/* load vpdma firmware*/
|
||||
int vpdma_load_firmware(struct vpdma_data *vpdma);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user