Revision 49251cd00228a3c983651f6bb2f33f6a0b8f152e authored by Zheng Yongjun on 02 June 2021, 14:06:40 UTC, committed by David S. Miller on 03 June 2021, 22:13:56 UTC
When kalloc or kmemdup failed, should return ENOMEM rather than ENOBUF.

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent d773695
Raw File
extcon-intel.h
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Header file for Intel extcon hardware
 *
 * Copyright (C) 2019 Intel Corporation. All rights reserved.
 */

#ifndef __EXTCON_INTEL_H__
#define __EXTCON_INTEL_H__

enum extcon_intel_usb_id {
	INTEL_USB_ID_OTG,
	INTEL_USB_ID_GND,
	INTEL_USB_ID_FLOAT,
	INTEL_USB_RID_A,
	INTEL_USB_RID_B,
	INTEL_USB_RID_C,
};

#endif	/* __EXTCON_INTEL_H__ */
back to top