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
cxd2099.h
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * cxd2099.h: Driver for the Sony CXD2099AR Common Interface Controller
 *
 * Copyright (C) 2010-2011 Digital Devices GmbH
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * version 2 only, as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

#ifndef _CXD2099_H_
#define _CXD2099_H_

#include <media/dvb_ca_en50221.h>

struct cxd2099_cfg {
	u32 bitrate;
	u8  polarity;
	u8  clock_mode;

	u32 max_i2c;

	/* ptr to DVB CA struct */
	struct dvb_ca_en50221 **en;
};

#endif
back to top