aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/isdbt/fc8150/fci_bypass.c
blob: f3104cb7b6a2f7c9571795fca3afe4143bc51bad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*****************************************************************************
 Copyright(c) 2012 FCI Inc. All Rights Reserved

 File name : fci_bypass.c

 Description : fci i2c driver
*******************************************************************************/
#include "fci_bypass.h"
#include "fci_types.h"


int fci_bypass_init(HANDLE hDevice, int speed, int slaveaddr)
{
	return BBM_OK;
}

int fci_bypass_read(HANDLE hDevice, u8 chip, u8 addr, u8 alen, u8 *data, u8 len)
{
	int res;

	res = fc8150_bypass_read(hDevice, chip, addr, data, len);

	return res;
}

int fci_bypass_write(HANDLE hDevice, u8 chip, u8 addr
	, u8 alen, u8 *data, u8 len)
{
	int res;

	res = fc8150_bypass_write(hDevice, chip, addr, data, len);

	return res;
}

int fci_bypass_deinit(HANDLE hDevice)
{
	return BBM_OK;
}