commit | d1e3d757f7aa91f15db347fc05ffd7ef7f413091 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <balbi@ti.com> | Thu Jan 24 22:29:48 2013 +0200 |
committer | Felipe Balbi <balbi@ti.com> | Mon Mar 18 11:17:11 2013 +0200 |
tree | 1cace41a22eb5fc4d5c4e1fbc71442bb5234988e | |
parent | b15a762f02acb4f1e695a17435f719350f9d5bc1 [diff] |
usb: common: introduce usb_state_string() this function will receive enum usb_device_state and return a human-readable string from it or, case an unknown value is passed as argument, the string "UNKNOWN". Signed-off-by: Felipe Balbi <balbi@ti.com>