forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/staging/rts5208/sd.h
....@@ -1,20 +1,8 @@
1
-/* Driver for Realtek PCI-Express card reader
2
- * Header file
1
+/* SPDX-License-Identifier: GPL-2.0+ */
2
+/*
3
+ * Driver for Realtek PCI-Express card reader
34 *
45 * Copyright(c) 2009-2013 Realtek Semiconductor Corp. All rights reserved.
5
- *
6
- * This program is free software; you can redistribute it and/or modify it
7
- * under the terms of the GNU General Public License as published by the
8
- * Free Software Foundation; either version 2, or (at your option) any
9
- * later version.
10
- *
11
- * This program is distributed in the hope that it will be useful, but
12
- * WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
- * General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU General Public License along
17
- * with this program; if not, see <http://www.gnu.org/licenses/>.
186 *
197 * Author:
208 * Wei WANG (wei_wang@realsil.com.cn)
....@@ -244,7 +232,7 @@
244232 #define DCM_LOW_FREQUENCY_MODE 0x01
245233
246234 #define DCM_HIGH_FREQUENCY_MODE_SET 0x0C
247
-#define DCM_Low_FREQUENCY_MODE_SET 0x00
235
+#define DCM_LOW_FREQUENCY_MODE_SET 0x00
248236
249237 #define MULTIPLY_BY_1 0x00
250238 #define MULTIPLY_BY_2 0x01
....@@ -285,7 +273,6 @@
285273 int sd_power_off_card3v3(struct rtsx_chip *chip);
286274 int release_sd_card(struct rtsx_chip *chip);
287275 #ifdef SUPPORT_CPRM
288
-int soft_reset_sd_card(struct rtsx_chip *chip);
289276 int ext_sd_send_cmd_get_rsp(struct rtsx_chip *chip, u8 cmd_idx,
290277 u32 arg, u8 rsp_type, u8 *rsp, int rsp_len,
291278 bool special_check);