Skip to content
Snippets Groups Projects
Commit b46998d8 authored by Yang Yingliang's avatar Yang Yingliang Committed by Thomas Zimmermann
Browse files

drm/bochs: Fix missing pci_disable_device() on error in bochs_pci_probe()


Replace pci_enable_device() with pcim_enable_device(),
pci_disable_device() will be called in release automatically.

v3:
  reformat commit message
  update for move to tiny/
v2:
  use pcim_enable_device()

Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Acked-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20210715132845.2415619-1-yangyingliang@huawei.com
parent f34bf652
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment