Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • early-display
  • variant-emmc-nvme-boot
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
7 results

composite.c

Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Bryan O'Donoghue's avatar
    31dd8efe
    usb: composite convert __set_bit to generic_set_bit · 31dd8efe
    Bryan O'Donoghue authored
    
    Compiling the f_mass_storage driver for an x86 target results in a
    compilation error as set_bit and clear_bit are provided by bitops.h
    
    To address that situation we discussed on the list moving to
    genetic_set_bit() instead.
    
    Doing a quick grep for similar situations in drivers/usb shows that the
    composite device is using __set_bit().
    
    This patch switches over to generic_set_bit to maintain consistency between
    the two gadget drivers.
    
    Signed-off-by: default avatarBryan O'Donoghue <pure.logic@nexus-software.ie>
    Cc: Lukasz Majewski <lukma@denx.de>
    Cc: Marek Vasut <marex@denx.de>
    31dd8efe
    History
    usb: composite convert __set_bit to generic_set_bit
    Bryan O'Donoghue authored
    
    Compiling the f_mass_storage driver for an x86 target results in a
    compilation error as set_bit and clear_bit are provided by bitops.h
    
    To address that situation we discussed on the list moving to
    genetic_set_bit() instead.
    
    Doing a quick grep for similar situations in drivers/usb shows that the
    composite device is using __set_bit().
    
    This patch switches over to generic_set_bit to maintain consistency between
    the two gadget drivers.
    
    Signed-off-by: default avatarBryan O'Donoghue <pure.logic@nexus-software.ie>
    Cc: Lukasz Majewski <lukma@denx.de>
    Cc: Marek Vasut <marex@denx.de>