> -----Original Message----- > From: Guenter Roeck [mailto:li...@roeck-us.net] > Sent: Sunday, March 20, 2016 6:59 PM > To: Geert Uytterhoeven; Woojung Huh - C21699; UNGLinuxDriver; David S. > Miller > Cc: Rafael J. Wysocki; net...@vger.kernel.org; linux-usb@vger.kernel.org; > linux...@vger.kernel.org; linux-ker...@vger.kernel.org > Subject: Re: [PATCH] lan78xx: Protect runtime_auto check by #ifdef > CONFIG_PM > > Not that it matters anymore since David reverted the original patch, > but my reason for not sending a similar patch was that I wasn't sure > if .runtime_auto should be accessed from drivers in the first place, > or if there is some logical problem with the code. >
Because driver can enable/disable autosuspend by usb_enable_autosuspend() and usb_disable_autosuspend(), it would be nice to have helper to find out autosuspend status. The code path was to utilize autosuspend power saving, when it is enabled. Woojung N�����r��y����b�X��ǧv�^�){.n�+����{������^n�r���z���h�����&���G���h�(�階�ݢj"���m������z�ޖ���f���h���~�m�