|
@@ -442,7 +442,6 @@ static int write_boot_mem(struct edgeport_serial *serial,
|
|
|
return status;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/* Write edgeport I2C memory to TI chip */
|
|
|
static int write_i2c_mem(struct edgeport_serial *serial,
|
|
|
int start_address, int length, __u8 address_type, __u8 *buffer)
|
|
@@ -632,8 +631,6 @@ static int write_rom(struct edgeport_serial *serial, int start_address,
|
|
|
return -EINVAL;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
/* Read a descriptor header from I2C based on type */
|
|
|
static int get_descriptor_addr(struct edgeport_serial *serial,
|
|
|
int desc_type, struct ti_i2c_desc *rom_desc)
|
|
@@ -1514,7 +1511,6 @@ stayinbootmode:
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
static int ti_do_config(struct edgeport_port *port, int feature, int on)
|
|
|
{
|
|
|
int port_number = port->port->port_number;
|
|
@@ -1525,7 +1521,6 @@ static int ti_do_config(struct edgeport_port *port, int feature, int on)
|
|
|
on, NULL, 0);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
static int restore_mcr(struct edgeport_port *port, __u8 mcr)
|
|
|
{
|
|
|
int status = 0;
|
|
@@ -1631,7 +1626,6 @@ static void handle_new_lsr(struct edgeport_port *edge_port, int lsr_data,
|
|
|
icount->frame++;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
static void edge_interrupt_callback(struct urb *urb)
|
|
|
{
|
|
|
struct edgeport_serial *edge_serial = urb->context;
|