| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* ------------------------------------------------------------------------- |
|---|
| 2 | 3 | * Copyright (C) 2014-2015, Intel Corporation |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 5 | 6 | * gslX68X.c |
|---|
| 6 | 7 | * Copyright (C) 2010-2015, Shanghai Sileadinc Co.Ltd |
|---|
| 7 | 8 | * |
|---|
| 8 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 9 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 10 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 11 | | - * (at your option) any later version. |
|---|
| 12 | | - * |
|---|
| 13 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 14 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 15 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 16 | | - * GNU General Public License for more details. |
|---|
| 17 | 9 | * ------------------------------------------------------------------------- |
|---|
| 18 | 10 | */ |
|---|
| 19 | 11 | |
|---|
| .. | .. |
|---|
| 297 | 289 | |
|---|
| 298 | 290 | dev_dbg(dev, "Firmware file name: %s", data->fw_name); |
|---|
| 299 | 291 | |
|---|
| 300 | | - error = request_firmware(&fw, data->fw_name, dev); |
|---|
| 292 | + error = firmware_request_platform(&fw, data->fw_name, dev); |
|---|
| 301 | 293 | if (error) { |
|---|
| 302 | 294 | dev_err(dev, "Firmware request error %d\n", error); |
|---|
| 303 | 295 | return error; |
|---|