• Felipe Balbi's avatar
    usb: gadget: f_uac2: fix build warning · 0f4315a8
    Felipe Balbi authored
    commit 913e4a90 ("usb: gadget: f_uac2:
    finalize wMaxPacketSize according to bandwidth")
    added a possible build warning when calling
    min(). In order to fix the warning, we just
    make sure to call min_t() and tell that its
    arguments should be u16.
    
    Cc: Peter Chen <peter.chen@freescale.com>
    Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
    0f4315a8
f_uac2.c 41.4 KB