summaryrefslogtreecommitdiff
path: root/include/dt-bindings/power/mt8173-power.h
blob: b34cee95aa894fe3bff61df50b8dd376f3b9efba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _DT_BINDINGS_POWER_MT8183_POWER_H
#define _DT_BINDINGS_POWER_MT8183_POWER_H

#define MT8173_POWER_DOMAIN_VDEC	0
#define MT8173_POWER_DOMAIN_VENC	1
#define MT8173_POWER_DOMAIN_ISP		2
#define MT8173_POWER_DOMAIN_MM		3
#define MT8173_POWER_DOMAIN_VENC_LT	4
#define MT8173_POWER_DOMAIN_AUDIO	5
#define MT8173_POWER_DOMAIN_USB		6
#define MT8173_POWER_DOMAIN_MFG_ASYNC	7
#define MT8173_POWER_DOMAIN_MFG_2D	8
#define MT8173_POWER_DOMAIN_MFG		9

#endif /* _DT_BINDINGS_POWER_MT8183_POWER_H */
t;gregkh@linuxfoundation.org>2017-01-25 12:03:52 +0100 commit83e526f2a2fa4b2e82b6bd3ddbb26b70acfa8947 (patch) tree3067a6dfefc8299039bc89f9eca8dc36a77e1ab4 /drivers/usb/phy/phy-ulpi-viewport.c parentd9b2997e4a0a874e452df7cdd7de5a54502bd0aa (diff)
usb: gadget: f_fs: Assorted buffer overflow checks.
OS descriptor head, when flagged as provided, is accessed without checking if it fits in provided buffer. Verify length before access. Also, there are other places where buffer length it checked after accessing offsets which are potentially past the end. Check buffer length before as well to fail cleanly. Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com> Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/phy/phy-ulpi-viewport.c')