Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ed1f7889 authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz
Browse files

au1xxx-ide: device tree bugfix



Add missing hw.dev setup (so hwif->gendev.parent will be set by
ide_init_port_hw() to point to the parent device).

Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent 062f9f02
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -602,6 +602,7 @@ static int au_ide_probe(struct device *dev)
	memset(&hw, 0, sizeof(hw));
	memset(&hw, 0, sizeof(hw));
	auide_setup_ports(&hw, ahwif);
	auide_setup_ports(&hw, ahwif);
	hw.irq = ahwif->irq;
	hw.irq = ahwif->irq;
	hw.dev = dev;
	hw.chipset = ide_au1xxx;
	hw.chipset = ide_au1xxx;


	ide_init_port_hw(hwif, &hw);
	ide_init_port_hw(hwif, &hw);