adbd: Support for new f_fs descriptor format

The patch "[RFC] usb: gadget: f_fs: Add flags
to  descriptors block" marks the current
usb_functionfs_descs_head format deprecated
and introduces support for sending SuperSpeed
descriptors.

This CL makes adbd to send Descriptors in the
new format. Adbd would fall back to the old
format, if kernel is not able to recognize
the new format. This is done to prevent
adbd from breaking in the older versions
of the kernel.

Bug: 17394972

(cherry picked from commit b5b43043fa71f9cb620ddd02ec2bc98eced5a6ce)

Change-Id: I5af9dc9d4f41ad47d678279054a648f69497b24e
1 file changed