Fix default bcdDevice to valid value
authorPaweł Szewczyk <p.szewczyk@samsung.com>
Thu, 7 Jun 2018 10:19:08 +0000 (12:19 +0200)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Thu, 14 Jun 2018 06:49:47 +0000 (06:49 +0000)
commitebe51d11473bf29ab93431ccb9ddd5d2ef884061
tree8ede7e5d4a9a1d374071a9e92575057783ae2c0f
parente96e87dc9ce4c7a2c3bceebdb5de02176103b545
Fix default bcdDevice to valid value

The bcdDevice field should be in format 0xJJMN, where JJ is major
version number, M is the minor version number and N is the stub minor
version number. The numbers are binary-coded decimals (as bcd name
suggests) and 0xffff is not a valid value.

Change-Id: Ia4adcd1cdeee232aa4c32e31231d7fd66f61a1e7
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
hw/usb_gadget/usb_gadget.c