Skip to content
Commit f62f9ffd authored by Johan Hovold's avatar Johan Hovold Committed by Martin K. Petersen
Browse files

scsi: sun_esp: fix device reference leaks



Make sure to drop the reference to the dma device taken by
of_find_device_by_node() on probe errors and on driver unbind.

Fixes: 334ae614 ("sparc: Kill SBUS DVMA layer.")
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 4a1108d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment