diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-06-26 18:59:26 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-06-26 18:59:26 -0400 |
| commit | 2a298679b41199ae742a77ce69766385dffe816f (patch) | |
| tree | 93a23c0d828ccca7053f604dbfcdd4d3278972b3 /scripts/mod | |
| parent | 8c7febe83915332276cab49e89f6580bb963fb9a (diff) | |
| parent | 50641056d833813b71b0ad51823f7ded8dd62e7f (diff) | |
Merge tag 'usb-4.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
Pull USB updates from Greg KH:
"Here's the big USB patchset for 4.2-rc1. As is normal these days, the
majority of changes are in the gadget drivers, with a bunch of other
small driver changes.
All of these have been in linux-next with no reported issues"
* tag 'usb-4.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (175 commits)
usb: dwc3: Use ASCII space in Kconfig
usb: chipidea: add work-around for Marvell HSIC PHY startup
usb: chipidea: allow multiple instances to use default ci_default_pdata
dt-bindings: Consolidate ChipIdea USB ci13xxx bindings
phy: add Marvell HSIC 28nm PHY
phy: Add Marvell USB 2.0 OTG 28nm PHY
dt-bindings: Add Marvell PXA1928 USB and HSIC PHY bindings
USB: ssb: use devm_kzalloc
USB: ssb: fix error handling in ssb_hcd_create_pdev()
usb: isp1760: check for null return from kzalloc
cdc-acm: Add support of ATOL FPrint fiscal printers
usb: chipidea: usbmisc_imx: Remove unneeded semicolon
USB: usbtmc: add device quirk for Rigol DS6104
USB: serial: mos7840: Use setup_timer
phy: twl4030-usb: add ABI documentation
phy: twl4030-usb: remove incorrect pm_runtime_get_sync() in probe function.
phy: twl4030-usb: remove pointless 'suspended' test in 'suspend' callback.
phy: twl4030-usb: make runtime pm more reliable.
drivers:usb:fsl: Fix compilation error for fsl ehci drv
usb: renesas_usbhs: Don't disable the pipe if Control write status stage
...
Diffstat (limited to 'scripts/mod')
| -rw-r--r-- | scripts/mod/devicetable-offsets.c | 4 | ||||
| -rw-r--r-- | scripts/mod/file2alias.c | 13 |
2 files changed, 17 insertions, 0 deletions
diff --git a/scripts/mod/devicetable-offsets.c b/scripts/mod/devicetable-offsets.c index 091f6290a651..eff7de1fc82e 100644 --- a/scripts/mod/devicetable-offsets.c +++ b/scripts/mod/devicetable-offsets.c | |||
| @@ -190,5 +190,9 @@ int main(void) | |||
| 190 | DEVID_FIELD(rio_device_id, asm_did); | 190 | DEVID_FIELD(rio_device_id, asm_did); |
| 191 | DEVID_FIELD(rio_device_id, asm_vid); | 191 | DEVID_FIELD(rio_device_id, asm_vid); |
| 192 | 192 | ||
| 193 | DEVID(ulpi_device_id); | ||
| 194 | DEVID_FIELD(ulpi_device_id, vendor); | ||
| 195 | DEVID_FIELD(ulpi_device_id, product); | ||
| 196 | |||
| 193 | return 0; | 197 | return 0; |
| 194 | } | 198 | } |
diff --git a/scripts/mod/file2alias.c b/scripts/mod/file2alias.c index 718b2a29bd43..84c86f3cd6cd 100644 --- a/scripts/mod/file2alias.c +++ b/scripts/mod/file2alias.c | |||
| @@ -1209,6 +1209,19 @@ static int do_rio_entry(const char *filename, | |||
| 1209 | } | 1209 | } |
| 1210 | ADD_TO_DEVTABLE("rapidio", rio_device_id, do_rio_entry); | 1210 | ADD_TO_DEVTABLE("rapidio", rio_device_id, do_rio_entry); |
| 1211 | 1211 | ||
| 1212 | /* Looks like: ulpi:vNpN */ | ||
| 1213 | static int do_ulpi_entry(const char *filename, void *symval, | ||
| 1214 | char *alias) | ||
| 1215 | { | ||
| 1216 | DEF_FIELD(symval, ulpi_device_id, vendor); | ||
| 1217 | DEF_FIELD(symval, ulpi_device_id, product); | ||
| 1218 | |||
| 1219 | sprintf(alias, "ulpi:v%04xp%04x", vendor, product); | ||
| 1220 | |||
| 1221 | return 1; | ||
| 1222 | } | ||
| 1223 | ADD_TO_DEVTABLE("ulpi", ulpi_device_id, do_ulpi_entry); | ||
| 1224 | |||
| 1212 | /* Does namelen bytes of name exactly match the symbol? */ | 1225 | /* Does namelen bytes of name exactly match the symbol? */ |
| 1213 | static bool sym_is(const char *name, unsigned namelen, const char *symbol) | 1226 | static bool sym_is(const char *name, unsigned namelen, const char *symbol) |
| 1214 | { | 1227 | { |
