diff options
author | Laurent Pinchart <[email protected]> | 2018-03-03 18:52:59 +0200 |
---|---|---|
committer | Tomi Valkeinen <[email protected]> | 2018-09-03 16:13:27 +0300 |
commit | c87193267d247c58f4517081d9cd04c8dc6302b8 (patch) | |
tree | 1e08f16b44b66ee198d9e63c744acb4d17333946 /drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c | |
parent | 5f031b4717349849e4d88edd09c9ec06a4729cfb (diff) |
drm/omap: dss: venc: Move initialization code from bind to probe
There's no reason to delay initialization of most of the driver (such as
mapping memory I/O or enabling runtime PM) to the component bind
handler. Perform as much of the initialization as possible at probe
time, initializing at bind time only the parts that depends on the DSS.
The cleanup code is moved from unbind to remove in a similar way.
Signed-off-by: Laurent Pinchart <[email protected]>
Reviewed-by: Sebastian Reichel <[email protected]>
Signed-off-by: Tomi Valkeinen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c')
0 files changed, 0 insertions, 0 deletions