New usb_autopm design

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Oliver:

I don't like the new requirement that drivers must balance their calls
to usb_autopm_get_interface() and usb_autopm_put_interface().  It's
awkward; it forces drivers to keep track of the number of unbalanced
get's.  Just consider what you would need to change in order to
implement it in the serial drivers and you'll see what I mean.

It seems a lot easier to have usbcore keep track for everybody.  Then 
the drivers won't need to be updated.

What do you think?

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux