On November 13, 2017 2:24:23 PM PST, Guenter Roeck <gro...@google.com> wrote: >On Mon, Nov 13, 2017 at 2:01 PM, Dmitry Torokhov ><dmitry.torok...@gmail.com> wrote: >> On Mon, Nov 13, 2017 at 12:14:41PM -0800, Guenter Roeck wrote: >>> The sysfs warning, yes. However, after unbinding and rebinding the >>> driver, "cat /sys/firmware/vpd/rw_raw" will result in a crash. >>> >>> Sequence: >>> >>> echo vpd > /sys/bus/platform/drivers/vpd/unbind >>> echo vpd > /sys/bus/platform/drivers/vpd/bind # <-- nasty message >>> >>> cat /sys/firmware/vpd/rw_raw # <-- crash >> >> I'd disable unbind (.suppress_bind_attrs = true) and commented out >> unload for now. And then looked into fixing properly. >> > >Fixing properly is easy as long as we retain the platform device; I >already have a set of patches doing just that. I have no idea how to >implement the non-platform-device variant, if that is what you mean >with "properly".
Ah, ok then. Thanks. -- Dmitry