Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions drivers/power/supply/qcom_fg.c
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,7 @@ static int qcom_fg_clear_ima(struct qcom_fg_chip *chip,
return 0;
}

irqreturn_t qcom_fg_handle_soc_delta(int irq, void *data)
static irqreturn_t qcom_fg_handle_soc_delta(int irq, void *data)
{
struct qcom_fg_chip *chip = data;

Expand All @@ -996,7 +996,7 @@ irqreturn_t qcom_fg_handle_soc_delta(int irq, void *data)
return IRQ_HANDLED;
}

irqreturn_t qcom_fg_handle_mem_avail(int irq, void *data)
static irqreturn_t qcom_fg_handle_mem_avail(int irq, void *data)
{
struct qcom_fg_chip *chip = data;

Expand Down
19 changes: 19 additions & 0 deletions drivers/usb/gadget/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,9 @@ config USB_F_PRINTER
config USB_F_TCM
tristate

config USB_F_ACC
tristate

# this first set of drivers all depend on bulk-capable hardware.

config USB_CONFIGFS
Expand All @@ -237,6 +240,14 @@ config USB_CONFIGFS
appropriate symbolic links.
For more information see Documentation/usb/gadget_configfs.rst.

config USB_CONFIGFS_UEVENT
bool "Uevent notification of Gadget state"
depends on USB_CONFIGFS
help
Enable uevent notifications to userspace when the gadget
state changes. The gadget can be in any of the following
three states: "CONNECTED/DISCONNECTED/CONFIGURED"

config USB_CONFIGFS_SERIAL
bool "Generic serial bulk in/out"
depends on USB_CONFIGFS
Expand Down Expand Up @@ -378,6 +389,14 @@ config USB_CONFIGFS_F_FS
implemented in kernel space (for instance Ethernet, serial or
mass storage) and other are implemented in user space.

config USB_CONFIGFS_F_ACC
bool "Accessory gadget"
depends on USB_CONFIGFS
depends on HID=y
select USB_F_ACC
help
USB gadget Accessory support

config USB_CONFIGFS_F_UAC1
bool "Audio Class 1.0"
depends on USB_CONFIGFS
Expand Down
Loading