aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/usb/serial/io_ti.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/usb/serial/io_ti.c b/drivers/usb/serial/io_ti.c
index e5ea5ef6335d..63e044adc19a 100644
--- a/drivers/usb/serial/io_ti.c
+++ b/drivers/usb/serial/io_ti.c
@@ -1086,12 +1086,11 @@ static int TIDownloadFirmware (struct edgeport_serial *serial)
1086 if (serial->product_info.TiMode == TI_MODE_DOWNLOAD) { 1086 if (serial->product_info.TiMode == TI_MODE_DOWNLOAD) {
1087 struct ti_i2c_desc *rom_desc; 1087 struct ti_i2c_desc *rom_desc;
1088 1088
1089 dbg ("%s - <<<<<<<<<<<<<<<RUNNING IN DOWNLOAD MODE>>>>>>>>>>", __FUNCTION__); 1089 dbg("%s - RUNNING IN DOWNLOAD MODE", __func__);
1090 1090
1091 status = TiValidateI2cImage (serial); 1091 status = TiValidateI2cImage (serial);
1092 if (status) { 1092 if (status) {
1093 dbg ("%s - <<<<<<<<<<<<<<<DOWNLOAD MODE -- BAD I2C >>>>>>>>>>", 1093 dbg("%s - DOWNLOAD MODE -- BAD I2C", __func__);
1094 __FUNCTION__);
1095 return status; 1094 return status;
1096 } 1095 }
1097 1096
@@ -1345,8 +1344,7 @@ static int TIDownloadFirmware (struct edgeport_serial *serial)
1345 /********************************************************************/ 1344 /********************************************************************/
1346 /* Boot Mode */ 1345 /* Boot Mode */
1347 /********************************************************************/ 1346 /********************************************************************/
1348 dbg ("%s - <<<<<<<<<<<<<<<RUNNING IN BOOT MODE>>>>>>>>>>>>>>>", 1347 dbg("%s - RUNNING IN BOOT MODE", __func__);
1349 __FUNCTION__);
1350 1348
1351 // Configure the TI device so we can use the BULK pipes for download 1349 // Configure the TI device so we can use the BULK pipes for download
1352 status = TIConfigureBootDevice (serial->serial->dev); 1350 status = TIConfigureBootDevice (serial->serial->dev);
@@ -1461,7 +1459,7 @@ static int TIDownloadFirmware (struct edgeport_serial *serial)
1461 1459
1462StayInBootMode: 1460StayInBootMode:
1463 // Eprom is invalid or blank stay in boot mode 1461 // Eprom is invalid or blank stay in boot mode
1464 dbg ("%s - <<<<<<<<<<<<<<<STAYING IN BOOT MODE>>>>>>>>>>>>", __FUNCTION__); 1462 dbg("%s - STAYING IN BOOT MODE", __func__);
1465 serial->product_info.TiMode = TI_MODE_BOOT; 1463 serial->product_info.TiMode = TI_MODE_BOOT;
1466 1464
1467 return 0; 1465 return 0;