Merge branch 'torvalds/master'
[firefly-linux-kernel-4.4.55.git] / drivers / net / wireless / rockchip_wlan / rtl8723bs / platform / platform_RTK_DMP_usb.c
1 /******************************************************************************\r
2  *\r
3  * Copyright(c) 2013 Realtek Corporation. All rights reserved.\r
4  *\r
5  * This program is free software; you can redistribute it and/or modify it\r
6  * under the terms of version 2 of the GNU General Public License as\r
7  * published by the Free Software Foundation.\r
8  *\r
9  * This program is distributed in the hope that it will be useful, but WITHOUT\r
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\r
11  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for\r
12  * more details.\r
13  *\r
14  * You should have received a copy of the GNU General Public License along with\r
15  * this program; if not, write to the Free Software Foundation, Inc.,\r
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA\r
17  *\r
18  *\r
19  ******************************************************************************/\r
20 #include <drv_types.h>\r
21 \r
22 int platform_wifi_power_on(void)\r
23 {\r
24         int ret = 0;\r
25         u32 tmp;\r
26         tmp=readl((volatile unsigned int*)0xb801a608);\r
27         tmp &= 0xffffff00;\r
28         tmp |= 0x55;\r
29         writel(tmp,(volatile unsigned int*)0xb801a608);//write dummy register for 1055\r
30         return ret;\r
31 }\r
32 \r
33 void platform_wifi_power_off(void)\r
34 {\r
35 }\r
36 \r