HACK: OMAP: DSS2: VENC: disable VENC on OMAP4 to prevent crash
Something seems to be wrong with OMAP4 & VENC, and register access fails in omap_venchw_probe(). This patch skips venc driver registration on OMAP4, thus circumventing the problem for now. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:
parent
cce18a9479
commit
ba02fa37de
1 changed files with 6 additions and 0 deletions
|
@ -769,10 +769,16 @@ static struct platform_driver omap_venchw_driver = {
|
||||||
|
|
||||||
int venc_init_platform_driver(void)
|
int venc_init_platform_driver(void)
|
||||||
{
|
{
|
||||||
|
if (cpu_is_omap44xx())
|
||||||
|
return 0;
|
||||||
|
|
||||||
return platform_driver_register(&omap_venchw_driver);
|
return platform_driver_register(&omap_venchw_driver);
|
||||||
}
|
}
|
||||||
|
|
||||||
void venc_uninit_platform_driver(void)
|
void venc_uninit_platform_driver(void)
|
||||||
{
|
{
|
||||||
|
if (cpu_is_omap44xx())
|
||||||
|
return;
|
||||||
|
|
||||||
return platform_driver_unregister(&omap_venchw_driver);
|
return platform_driver_unregister(&omap_venchw_driver);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue