@@ -910,12 +910,12 @@ int __devinit dw_spi_add_host(struct dw_spi *dws)
ret = init_queue(dws);
if (ret) {
dev_err(&master->dev, "problem initializing queue\n");
- goto err_diable_hw;
+ goto err_disable_hw;
}
ret = start_queue(dws);
if (ret) {
dev_err(&master->dev, "problem starting queue\n");
- goto err_diable_hw;
+ goto err_disable_hw;
}
spi_master_set_devdata(master, dws);
@@ -930,7 +930,7 @@ int __devinit dw_spi_add_host(struct dw_spi *dws)
err_queue_alloc:
destroy_queue(dws);
-err_diable_hw:
+err_disable_hw:
spi_enable_chip(dws, 0);
free_irq(dws->irq, dws);
err_free_master: