[PATCH for 4.9 37/39] libata: transport: Remove circular dependency at free time

2017-09-17 Thread Levin, Alexander (Sasha Levin)
From: Gwendal Grignou [ Upstream commit d85fc67dd11e9a32966140677d4d6429ca540b25 ] Without this patch, failed probe would not free resources like irq. ata port tdev object currently hold a reference to the ata port object. Therefore the ata port object release function

[PATCH for 4.9 37/39] libata: transport: Remove circular dependency at free time

2017-09-17 Thread Levin, Alexander (Sasha Levin)
From: Gwendal Grignou [ Upstream commit d85fc67dd11e9a32966140677d4d6429ca540b25 ] Without this patch, failed probe would not free resources like irq. ata port tdev object currently hold a reference to the ata port object. Therefore the ata port object release function will not get called