| .. | .. |
|---|
| 838 | 838 | rc = request_firmware(&fw, FW_FILE_NAME, master->dev); |
|---|
| 839 | 839 | if (rc) { |
|---|
| 840 | 840 | dev_err( |
|---|
| 841 | | - master->dev, "Error %d to load firwmare '%s' !\n", |
|---|
| 841 | + master->dev, "Error %d to load firmware '%s' !\n", |
|---|
| 842 | 842 | rc, FW_FILE_NAME); |
|---|
| 843 | 843 | return rc; |
|---|
| 844 | 844 | } |
|---|
| .. | .. |
|---|
| 1039 | 1039 | gpiod_direction_input(master->gpio_data); |
|---|
| 1040 | 1040 | } |
|---|
| 1041 | 1041 | |
|---|
| 1042 | | -static int fsi_master_acf_link_enable(struct fsi_master *_master, int link) |
|---|
| 1042 | +static int fsi_master_acf_link_enable(struct fsi_master *_master, int link, |
|---|
| 1043 | + bool enable) |
|---|
| 1043 | 1044 | { |
|---|
| 1044 | 1045 | struct fsi_master_acf *master = to_fsi_master_acf(_master); |
|---|
| 1045 | 1046 | int rc = -EBUSY; |
|---|
| .. | .. |
|---|
| 1049 | 1050 | |
|---|
| 1050 | 1051 | mutex_lock(&master->lock); |
|---|
| 1051 | 1052 | if (!master->external_mode) { |
|---|
| 1052 | | - gpiod_set_value(master->gpio_enable, 1); |
|---|
| 1053 | + gpiod_set_value(master->gpio_enable, enable ? 1 : 0); |
|---|
| 1053 | 1054 | rc = 0; |
|---|
| 1054 | 1055 | } |
|---|
| 1055 | 1056 | mutex_unlock(&master->lock); |
|---|
| .. | .. |
|---|
| 1426 | 1427 | { .compatible = "aspeed,ast2500-cf-fsi-master" }, |
|---|
| 1427 | 1428 | { }, |
|---|
| 1428 | 1429 | }; |
|---|
| 1430 | +MODULE_DEVICE_TABLE(of, fsi_master_acf_match); |
|---|
| 1429 | 1431 | |
|---|
| 1430 | 1432 | static struct platform_driver fsi_master_acf = { |
|---|
| 1431 | 1433 | .driver = { |
|---|