# Re: \[PATCH 02/16\] ARM: omap: fix oops in drivers/video/omap2/dss/dpi.c

- From: Tony Lindgren \<tony@atomide.com\>
- Date: 2012-02-08 18:36:07 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2012/02/13462678
- Thread: https://ratatoskr.run/linux-omap/2012/02/8596648/t.md

```text
* Russell King - ARM Linux [ref] [120208 08:05]:
> When a PMIC is not found, this driver is unable to obtain its
> 'vdds_dsi_reg' regulator.  Even through its initialization function
> fails, other code still calls its enable function, which fails to
> check whether it has this regulator before asking for it to be enabled.
> 
> This fixes the oops, however a better fix would be to sort out the
> upper layers to prevent them calling into a module which failed to
> initialize.
> 
> Signed-off-by: Russell King <redacted>

Tomi can look into fixing this properly for v3.4:

Acked-by: Tony Lindgren <tony@atomide.com>
```
