lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150319115120.GC2435@kuha.fi.intel.com>
Date:	Thu, 19 Mar 2015 13:51:20 +0200
From:	Heikki Krogerus <heikki.krogerus@...ux.intel.com>
To:	David Cohen <david.a.cohen@...ux.intel.com>
Cc:	Felipe Balbi <balbi@...com>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	Stephen Boyd <sboyd@...eaurora.org>,
	Baolu Lu <baolu.lu@...ux.intel.com>, linux-usb@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCHv2 09/12] usb: dwc3: pci: add quirk for Baytrails

> > @@ -65,6 +76,31 @@ static int dwc3_pci_quirks(struct pci_dev *pdev)
> >  						sizeof(pdata));
> >  	}
> >  
> > +	if (pdev->vendor == PCI_VENDOR_ID_INTEL &&
> > +	    pdev->device == PCI_DEVICE_ID_INTEL_BYT) {
> > +		struct gpio_desc *gpio;
> > +
> > +		acpi_dev_add_driver_gpios(ACPI_COMPANION(&pdev->dev),
> > +					  acpi_dwc3_byt_gpios);
> > +
> > +		gpio = gpiod_get(&pdev->dev, "reset");
> > +		if (IS_ERR(gpio))
> > +			return 0;
> > +
> > +		/* These GPIOs will turn on the USB2 PHY */
> > +		gpiod_direction_output(gpio, 0);
> > +		gpiod_set_value_cansleep(gpio, 1);
> > +		gpiod_put(gpio);
> > +
> > +		gpio = gpiod_get(&pdev->dev, "cs");
> 
> CS GPIO should be handled before RESET.

OK, I'll fix it.


Thanks,

-- 
heikki
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ