summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/panfrost/panfrost_device.c
diff options
context:
space:
mode:
authorClément Péron <peron.clem@gmail.com>2020-07-10 11:54:01 +0200
committerRob Herring <robh@kernel.org>2020-08-07 10:11:26 -0600
commit81f2fbe62cb54b6cf3d91078c4d49451ba7b9877 (patch)
treed58b4b61a74211094dbdc0b80f3cbdada8ae3477 /drivers/gpu/drm/panfrost/panfrost_device.c
parented85df3f60740bb4be23fbc2db283d59b361a834 (diff)
drm/panfrost: properly handle error in probe
Introduce a boolean to know if opp table has been added. With this, we can call panfrost_devfreq_fini() in case of error and release what has been initialised. Reviewed-by: Steven Price <steven.price@arm.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Signed-off-by: Clément Péron <peron.clem@gmail.com> Signed-off-by: Rob Herring <robh@kernel.org> Link: https://patchwork.freedesktop.org/patch/msgid/20200710095409.407087-7-peron.clem@gmail.com
Diffstat (limited to 'drivers/gpu/drm/panfrost/panfrost_device.c')
0 files changed, 0 insertions, 0 deletions