As we mentioned on IRC, ymfpci uses ac97_codec, which does not contain
the ac97_reset function.
> I cannot test the patch because my suspend/resume cycle
> retains mixer levels without it (2.2.14 stock, PCG-Z505JE),
> so I would not see any difference.
2.2.14? Is that a typo? His was patch for 2.4.15-pre2...
Anyway, my comments per request:
The patch looks ok, but I wonder about the order in ymfpci_resume. You
load the mixer values -then- call ymfpci_download_image and
ymfpci_memload. It seems for the purposes of general sanity and
stability you would want to load the mixer values after doing those two
operations.
Jeff
-- Jeff Garzik | Only so many songs can be sung Building 1024 | with two lips, two lungs, and one tongue. MandrakeSoft | - nomeansno- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/