[PATCH] Fix MMC hierarchy
Pierre Ossman
drzeus-list at drzeus.cx
Fri Dec 9 15:29:19 PST 2005
There were some issues with how parents were selected for mmc stuff. The
attribute linux.sysfs_path_device was set for mmc_host:s, even though
they lack a device to be mapped too. This caused problems when a
physical card hade multiple mmc hosts.
The second issue is similar by nature, and made worse by fixing the bug
above. Cards were associated with the last registered mmc_host for the
device. With the fix above they were associated with the physical
device. To fix this we have to look up a new parent based on the mmc
host number. I'm not sure if it's safe doing it this late, but it seems
to work.
Rgds
Pierre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-mmcfix.patch
Type: text/x-patch
Size: 1237 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20051210/585ab8d8/hal-mmcfix.bin
More information about the hal
mailing list